diff options
author | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-11-02 18:20:13 +0000 |
---|---|---|
committer | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-11-02 18:20:13 +0000 |
commit | 3423daa3784995f25b72ebfb1e17d59f745f9354 (patch) | |
tree | 67c91d9979825a40906b432dad40afe860458930 /actions/login.php | |
parent | 9e4472a987fb626b370f36377f761bde5ba32bdd (diff) | |
download | elgg-3423daa3784995f25b72ebfb1e17d59f745f9354.tar.gz elgg-3423daa3784995f25b72ebfb1e17d59f745f9354.tar.bz2 |
Using REFERER shorthand throughout core
git-svn-id: http://code.elgg.org/elgg/trunk@7193 36083f99-b078-4883-b0ff-0f9b5a30f544
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. |