浏览代码

Update users.php (#4780)

chansizzle 6 年之前
父节点
当前提交
d604d54cf2
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      core/users/users.php

+ 1 - 1
core/users/users.php

@@ -166,7 +166,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') && isset($_SESSION['limit']['users']['numeric'])) {
+	if (permission_exists('user_add')) {
 		if (($_SESSION['limit']['users']['numeric'] == '' || ($_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>";
 		}