mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 20:40:49 +08:00
fix common undefined constant error
This commit is contained in:
@@ -71,7 +71,7 @@ else
|
||||
}
|
||||
|
||||
if (!empty($_POST["returnto"]))
|
||||
header("Location: " . $pprefix . "$BASEURL/$_POST[returnto]");
|
||||
header("Location: " . $pprefix . "$BASEURL/{$_POST['returnto']}");
|
||||
else
|
||||
header("Location: " . $pprefix . "$BASEURL/index.php");
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user