diff options
author | Zach Copley <zach@controlyourself.ca> | 2009-02-05 16:16:10 -0800 |
---|---|---|
committer | Zach Copley <zach@controlyourself.ca> | 2009-02-05 16:16:10 -0800 |
commit | ab82978b2d67545a9cd7bfc80837798212cff31b (patch) | |
tree | 27f1099827310661fb726ceefd6a8040436d1d58 /actions/deletenotice.php | |
parent | 8c8feb59b57ccf78589b9ab8a64f6195d226a568 (diff) |
Trac #894 and #1013 - fixed bad redirects after delete notice
Diffstat (limited to 'actions/deletenotice.php')
-rw-r--r-- | actions/deletenotice.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/actions/deletenotice.php b/actions/deletenotice.php index d4b8e50e5..fc4a74eac 100644 --- a/actions/deletenotice.php +++ b/actions/deletenotice.php @@ -134,6 +134,10 @@ class DeletenoticeAction extends DeleteAction $url = common_get_returnto(); + + $urlval = ($url) ? $url : 'null'; + common_debug("deleteNotice() - returnto url = $urlval"); + if ($url) { common_set_returnto(null); } else { |