summaryrefslogtreecommitdiff
path: root/lib/util.php
diff options
context:
space:
mode:
authorCraig Andrews <candrews@integralblue.com>2009-10-11 13:39:10 -0400
committerCraig Andrews <candrews@integralblue.com>2009-10-11 13:39:10 -0400
commitf719720e8ad3b09d664e33172bafef2b0fb91eea (patch)
treeef260a2b132405013025f61930c3850f498318c9 /lib/util.php
parent96d32fb8d0752c13cb1a768a3e4c3ad36a4a0188 (diff)
parent006cfc528edab32548d1265df5dada09a1536aed (diff)
Merge remote branch 'statusnet/0.8.x' into 0.9.x
Conflicts: lib/common.php
Diffstat (limited to 'lib/util.php')
-rw-r--r--lib/util.php2
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()