diff options
author | Craig Andrews <candrews@integralblue.com> | 2009-10-11 13:39:10 -0400 |
---|---|---|
committer | Craig Andrews <candrews@integralblue.com> | 2009-10-11 13:39:10 -0400 |
commit | f719720e8ad3b09d664e33172bafef2b0fb91eea (patch) | |
tree | ef260a2b132405013025f61930c3850f498318c9 /lib/util.php | |
parent | 96d32fb8d0752c13cb1a768a3e4c3ad36a4a0188 (diff) | |
parent | 006cfc528edab32548d1265df5dada09a1536aed (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.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() |