aboutsummaryrefslogtreecommitdiffstats
path: root/mod/mood.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/mood.php')
-rwxr-xr-xmod/mood.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/mod/mood.php b/mod/mood.php
index ddd721823..98064beab 100755
--- a/mod/mood.php
+++ b/mod/mood.php
@@ -96,6 +96,10 @@ function mood_init(&$a) {
}
call_hooks('post_local_end', $arr);
+
+ if($_SESSION['return_url'])
+ goaway(z_root() . '/' . $_SESSION['return_url']);
+
return;
}