From 9a35e48ee2a15ded31dd1dba8e0af9071e8a28ac Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Fri, 15 Oct 2010 15:33:54 -0700 Subject: [PATCH] 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! --- actions/makeadmin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } /** -- 2.39.5