summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorCraig Andrews <candrews@integralblue.com>2009-10-11 13:21:18 -0400
committerCraig Andrews <candrews@integralblue.com>2009-10-11 13:21:18 -0400
commit006cfc528edab32548d1265df5dada09a1536aed (patch)
tree474dc49eed8ff3542e6d2c8154e14fa4b8432ada /lib
parent6f12ed5f91b2ffa949fcff5c9bbb1f0da8d727b1 (diff)
parent838c13063a8371b858a249b3bc511b2b77ce1c5f (diff)
Merge commit 'refs/merge-requests/1723' of git://gitorious.org/statusnet/mainline into 0.8.x
Diffstat (limited to 'lib')
-rw-r--r--lib/util.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util.php b/lib/util.php
index a069ccf7b..9b299cb14 100644
--- a/lib/util.php
+++ b/lib/util.php
@@ -981,7 +981,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()