mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-18 01:01:01 +00:00
Some additional fixes for PHP errors
Some additional fixes for PHP errors
This commit is contained in:
+1
-1
@@ -26,7 +26,7 @@ use App\Utils\AccessLogger;
|
||||
include_once("GameEngine/Village.php");
|
||||
AccessLogger::logRequest();
|
||||
|
||||
$amount = $_SESSION['amount'];
|
||||
$amount = $_SESSION['amount'] ?? 0;
|
||||
if(isset($_GET['newdid'])) {
|
||||
$_SESSION['wid'] = $_GET['newdid'];
|
||||
header("Location: ".$_SERVER['PHP_SELF']);
|
||||
|
||||
Reference in New Issue
Block a user