fix: immediate finish of all building progress redirects correctly

This commit is contained in:
Martin Ambrus
2017-10-22 13:21:36 +02:00
parent e9e55af338
commit dd90648b09
4 changed files with 6 additions and 7 deletions
+1 -2
View File
@@ -1,7 +1,6 @@
<?php
if($session->access!=BANNED){
$building->finishAll();
header("Location: plus.php?id=3");
$building->finishAll('plus.php?id=3');
exit;
}else{
header("Location: banned.php");