diff options
author | Brion Vibber <brion@pobox.com> | 2009-10-12 11:10:06 -0700 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2009-10-12 11:10:06 -0700 |
commit | 712db3a89741c423f91f43bcbeb2650d5d5d5205 (patch) | |
tree | ef260a2b132405013025f61930c3850f498318c9 /lib/util.php | |
parent | 3f27f3138e88b8e52bd88ced381ea1bd5e70da89 (diff) | |
parent | f719720e8ad3b09d664e33172bafef2b0fb91eea (diff) |
Merge branch '0.9.x' of git://gitorious.org/statusnet/mainline into 0.9.x
Diffstat (limited to 'lib/util.php')
-rw-r--r-- | lib/util.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util.php b/lib/util.php index d249b154f..be10647fc 100644 --- a/lib/util.php +++ b/lib/util.php @@ -998,7 +998,7 @@ function common_set_returnto($url) function common_get_returnto() { common_ensure_session(); - return $_SESSION['returnto']; + return (array_key_exists('returnto', $_SESSION)) ? $_SESSION['returnto'] : null; } function common_timestamp() |