mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-03 02:54:21 +00:00
Fix(farmlist): raid bugs and PHP 8.3 warnings (#217)
This commit is contained in:
@@ -761,7 +761,7 @@ class Units {
|
||||
public function startRaidList($post){
|
||||
global $database, $generator, $session;
|
||||
|
||||
$slots = $post['slot'];
|
||||
$slots = $post['slot'] ?? [];
|
||||
if(empty($slots)){
|
||||
header("Location: build.php?id=39&t=99");
|
||||
exit();
|
||||
|
||||
Reference in New Issue
Block a user