Update users.php

This commit is contained in:
FusionPBX 2019-10-29 17:23:20 -06:00 committed by GitHub
parent 243b6b4e8c
commit 9caa28eb1f
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@
echo th_order_by('user_enabled', $text['label-enabled'], $order_by, $order, '', '', $param);
echo "<td class='list_control_icons'>";
if (permission_exists('user_add')) {
if (($_SESSION['limit']['users']['numeric'] == '' || ($_SESSION['limit']['users']['numeric'] != '') && $num_rows < $_SESSION['limit']['users']['numeric'])) {
if (!isset($_SESSION['limit']['users']['numeric']) || (isset($_SESSION['limit']['users']['numeric']) && $num_rows < $_SESSION['limit']['users']['numeric'])) {
echo "<a href='user_edit.php' alt='".$text['button-add']."'>".$v_link_label_add."</a>";
}
}