mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-16 16:21:01 +00:00
Fix Admin Panel view & some PHP 8.1+
Fix Admin Panel view & some PHP 8.1+
This commit is contained in:
@@ -92,8 +92,8 @@ if ($totalRanks > 0) {
|
||||
$uid = (int)$row['userid'];
|
||||
$rank = (int)$i;
|
||||
|
||||
$username = htmlspecialchars($row['username'], ENT_QUOTES, 'UTF-8');
|
||||
$aname = htmlspecialchars($row['aname'], ENT_QUOTES, 'UTF-8');
|
||||
$username = htmlspecialchars((string)$row['username'], ENT_QUOTES, 'UTF-8');
|
||||
$aname = htmlspecialchars((string)$row['aname'], ENT_QUOTES, 'UTF-8');
|
||||
|
||||
$highlight = ($i == $search) ? " class=\"hl\"" : "";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user