mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-07 21:34:22 +00:00
fix: all location headers need to have exit after them!
This commit is contained in:
+4
-1
@@ -71,7 +71,10 @@ if (isset($_GET['send']) && isset($_GET['from']))
|
||||
}
|
||||
}
|
||||
mysqli_query($GLOBALS['link'],$sql);
|
||||
if (($users_count - $_GET['from']) > $max_per_pass) echo header("Location: massmessage.php?send=true&from=",$_GET['from'] + $max_per_pass); else $done = true;
|
||||
if (($users_count - $_GET['from']) > $max_per_pass) {
|
||||
header("Location: massmessage.php?send=true&from=",$_GET['from'] + $max_per_pass);
|
||||
exit;
|
||||
} else $done = true;
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user