summaryrefslogtreecommitdiff
path: root/actions/leavegroup.php
diff options
context:
space:
mode:
authorAdrian Lang <mail@adrianlang.de>2009-03-08 01:30:11 +0100
committerAdrian Lang <mail@adrianlang.de>2009-03-08 01:37:27 +0100
commitf8d13817174a63dc8452ed60a00b7d336633fa88 (patch)
treed2751b77902d404977716cbb581bf413d9830456 /actions/leavegroup.php
parent60f737dc1eb2f126bae28ce095bc2d17a22bd7d9 (diff)
Corrected redirect targets for some group actions. These redirects can occur when the canonical name differs from the passed name.
Diffstat (limited to 'actions/leavegroup.php')
-rw-r--r--actions/leavegroup.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/leavegroup.php b/actions/leavegroup.php
index c7152e3c0..1d85aa3d5 100644
--- a/actions/leavegroup.php
+++ b/actions/leavegroup.php
@@ -73,7 +73,7 @@ class LeavegroupAction extends Action
if ($nickname_arg != $nickname) {
$args = array('nickname' => $nickname);
- common_redirect(common_local_url('editgroup', $args), 301);
+ common_redirect(common_local_url('leavegroup', $args), 301);
return false;
}