mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-23 11:27:24 +08:00
fix: Change Refresh into Location
If use Refresh, it will not work on some browser and some protocols (e.g. HTTP/2). So, change Refresh into Location. Signed-off-by: SPC <github@spcsky.com>
This commit is contained in:
+1
-1
@@ -309,4 +309,4 @@ if ($affectedRows == 1) {
|
||||
$returl = "details.php?id=$id&edited=1";
|
||||
if (isset($_POST["returnto"]))
|
||||
$returl = $_POST["returnto"];
|
||||
header("Refresh: 0; url=$returl");
|
||||
header("Location: $returl");
|
||||
|
||||
Reference in New Issue
Block a user