From: Brion Vibber Date: Fri, 15 Oct 2010 22:33:54 +0000 (-0700) Subject: Fix for ticket #2837: white screen when hitting 'make admin' button on group members... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9a35e48ee2a15ded31dd1dba8e0af9071e8a28ac;p=quix0rs-gnu-social.git Fix for ticket #2837: white screen when hitting 'make admin' button on group members list. 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! --- diff --git a/actions/makeadmin.php b/actions/makeadmin.php index 9ccb442308..4e6e97a569 100644 --- a/actions/makeadmin.php +++ b/actions/makeadmin.php @@ -148,7 +148,7 @@ class MakeadminAction extends RedirectingAction $this->group->getBestName()); } - $this->returnToArgs(); + $this->returnToPrevious(); } /**