From f8d13817174a63dc8452ed60a00b7d336633fa88 Mon Sep 17 00:00:00 2001 From: Adrian Lang Date: Sun, 8 Mar 2009 01:30:11 +0100 Subject: Corrected redirect targets for some group actions. These redirects can occur when the canonical name differs from the passed name. --- actions/leavegroup.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actions/leavegroup.php') 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; } -- cgit v1.2.3-54-g00ecf