From 734f66e4760e0b73650d9b0a497e74035aa88599 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=B5=A9=E6=96=8C?= Date: Thu, 23 Jan 2025 10:39:41 +0800 Subject: [PATCH] Update user_list.php --- trunk/web/admin/user_list.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trunk/web/admin/user_list.php b/trunk/web/admin/user_list.php index 90326e20b0e..817870b8623 100644 --- a/trunk/web/admin/user_list.php +++ b/trunk/web/admin/user_list.php @@ -98,7 +98,7 @@ else if($edate>=$today) $color="blue"; echo "".$row['expiry_date'].""; - if(isset($_SESSION[$OJ_NAME.'_'.'administrator'])){ + if(isset($_SESSION[$OJ_NAME.'_'.'administrator']) && $row['user_id']!=$_SESSION[$OJ_NAME."_user_id"] ){ echo "". ($row['defunct']=="N"?"$MSG_NORMAL":"$MSG_DELETED") ."";