From d7690b45fde5275f52afa8c633adb0af9b5df68d Mon Sep 17 00:00:00 2001 From: xiaomlove Date: Thu, 27 May 2021 00:21:14 +0800 Subject: [PATCH] fix staff.php undefined constant --- public/staff.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/staff.php b/public/staff.php index 1f2df391..d27b4c68 100644 --- a/public/staff.php +++ b/public/staff.php @@ -20,7 +20,7 @@ $res = sql_query("SELECT * FROM users WHERE users.support='yes' AND users.status while ($arr = mysql_fetch_assoc($res)) { $countryrow = get_country_row($arr['country']); - $ppl .= "". get_username($arr['id']) ." + $ppl .= "". get_username($arr['id']) ." ".(strtotime($arr['last_access']) > $dt ? $onlineimg : $offlineimg)."". "".$sendpmimg."". "".$arr['supportlang']."". @@ -142,7 +142,7 @@ while ($arr = mysql_fetch_assoc($res)) if ($ppl != "") $ppl .= " "; $ppl .= "" . get_user_class_name($arr["class"],false,true,true) . ""; - $ppl .= "" . + $ppl .= "" . "" . $lang_staff['text_username'] . "". "" . $lang_staff['text_country'] . "". "" . $lang_staff['text_online_or_offline'] . "".