Some additional fixes for PHP errors

Some additional fixes for PHP errors
This commit is contained in:
novgorodschi catalin
2026-08-17 10:31:03 +03:00
parent d9df87c622
commit 0f81a2b25e
11 changed files with 27 additions and 12 deletions
+1 -1
View File
@@ -27,7 +27,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']);