mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-09-22 01:46:38 +08:00
chore: harden php8 compatibility, optimize installer/croppers, and refresh docs/admin ux
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
if(!isset($_GET['id']) && @(basename($_SERVER['REQUEST_URI']) !== 'a2b2.php')) {
|
||||
echo "class=\"selected\"";
|
||||
}
|
||||
if(isset($_GET['id']) && ($_GET['id'] == 1) || strlen($_GET['id']) === 3) {
|
||||
if(isset($_GET['id']) && (($_GET['id'] == 1) || strlen((string)$_GET['id']) === 3)) {
|
||||
echo "class=\"selected\"";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user