]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Corrected redirect targets for some group actions. These redirects can occur when...
authorAdrian Lang <mail@adrianlang.de>
Sun, 8 Mar 2009 00:30:11 +0000 (01:30 +0100)
committerAdrian Lang <mail@adrianlang.de>
Sun, 8 Mar 2009 00:37:27 +0000 (01:37 +0100)
actions/grouplogo.php
actions/joingroup.php
actions/leavegroup.php

index 499db4ae8d7da865da7c5aaf037b147bbb3cab17..fe6127da296243a0c13f15625a8fc57f162f5c83 100644 (file)
@@ -83,7 +83,7 @@ class GrouplogoAction extends Action
 
         if ($nickname_arg != $nickname) {
             $args = array('nickname' => $nickname);
-            common_redirect(common_local_url('editgroup', $args), 301);
+            common_redirect(common_local_url('grouplogo', $args), 301);
             return false;
         }
 
index 1888ecdab27389420aa5a3e84b8390cb60687e28..eeea4a37bfb1ed9b0233c8f74f8362aad24d94fe 100644 (file)
@@ -73,7 +73,7 @@ class JoingroupAction extends Action
 
         if ($nickname_arg != $nickname) {
             $args = array('nickname' => $nickname);
-            common_redirect(common_local_url('editgroup', $args), 301);
+            common_redirect(common_local_url('joingroup', $args), 301);
             return false;
         }
 
index c7152e3c0e32cc9db0b46855c28b3140570a8218..1d85aa3d521f2e68a1e84760e017a25693e8f017 100644 (file)
@@ -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;
         }