]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fix for ticket #2837: white screen when hitting 'make admin' button on group members...
authorBrion Vibber <brion@pobox.com>
Fri, 15 Oct 2010 22:33:54 +0000 (15:33 -0700)
committerBrion Vibber <brion@pobox.com>
Fri, 15 Oct 2010 22:33:54 +0000 (15:33 -0700)
RedirectingAction->returnToArgs() has been renamed to returnToPrevious() to avoid confusion with the existing Action->returnToArgs which gives the arguments that would be used to pass to one of those. :)
Switching to the correct function call gets it working.

Thanks to Siebrand for catching it when I could debug it live!

actions/makeadmin.php

index 9ccb442308b2910b0fd815dd80fd03bfb9aa4629..4e6e97a5693c8c2456059afe5b19a463688c862d 100644 (file)
@@ -148,7 +148,7 @@ class MakeadminAction extends RedirectingAction
                                $this->group->getBestName());
         }
 
-        $this->returnToArgs();
+        $this->returnToPrevious();
     }
 
     /**