From 51b8c0d839c3b53e7fcf559e4a7ff90960e89400 Mon Sep 17 00:00:00 2001 From: e107steved Date: Sun, 7 Feb 2010 18:32:35 +0000 Subject: [PATCH] Display of ban status accurately reflects ban --- e107_admin/users.php | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/e107_admin/users.php b/e107_admin/users.php index a8d86ffb5..523b5cbdd 100644 --- a/e107_admin/users.php +++ b/e107_admin/users.php @@ -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.