mirror of
https://github.com/e107inc/e107.git
synced 2025-08-05 22:27:34 +02:00
Display of ban status accurately reflects ban
This commit is contained in:
@@ -10,9 +10,9 @@
|
||||
* Administration Area - Users
|
||||
*
|
||||
* $Source: /cvs_backup/e107_0.8/e107_admin/users.php,v $
|
||||
* $Revision: 1.71 $
|
||||
* $Date: 2009-11-23 01:17:29 $
|
||||
* $Author: e107coders $
|
||||
* $Revision: 1.72 $
|
||||
* $Date: 2010-02-07 18:32:35 $
|
||||
* $Author: e107steved $
|
||||
*
|
||||
*/
|
||||
require_once ('../class2.php');
|
||||
@@ -1203,6 +1203,10 @@ class users
|
||||
return $prm->renderPerms($row[$key],$row['user_id']);
|
||||
break;
|
||||
|
||||
case 'user_ban' :
|
||||
return ($row[$key] == 1) ? ADMIN_TRUE_ICON : ''; // We may want to show more of the status later
|
||||
break;
|
||||
|
||||
}
|
||||
|
||||
switch($type) // switch based on type.
|
||||
|
Reference in New Issue
Block a user