mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-09-23 02:17:05 +08:00
fix: undefined indexes and variables
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
| <a href="spieler.php?s=2" <?php if(isset($_GET['s']) && $_GET['s'] == 2) { echo "class=\"selected\""; } ?>>Preferences</a>
|
||||
| <a href="spieler.php?s=3" <?php if(isset($_GET['s']) && $_GET['s'] == 3) { echo "class=\"selected\""; } ?>>Account</a>
|
||||
<?php
|
||||
if($displayarray['username'] == "Shadow"){
|
||||
if(isset($displayarray) && $displayarray['username'] == "Shadow"){
|
||||
?>
|
||||
| <a href="spieler.php?s=5" <?php if(isset($_GET['s']) && $_GET['s'] == 5) { echo "class=\"selected\""; } ?>>Vacation</a>
|
||||
<?php
|
||||
|
||||
Reference in New Issue
Block a user