diff options
Diffstat (limited to 'actions/login.php')
-rw-r--r-- | actions/login.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/login.php b/actions/login.php index b7823514a..67a2052b6 100644 --- a/actions/login.php +++ b/actions/login.php @@ -36,7 +36,7 @@ if ($result) { forward($forward_url); } else { if (get_input('returntoreferer')) { - forward($_SERVER['HTTP_REFERER']); + forward(REFERER); } else { // forward to index for front page overrides. // index will forward to dashboard if appropriate. |