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!
This commit is contained in:
Brion Vibber 2010-10-15 15:33:54 -07:00
parent 90e54f6cf0
commit 9a35e48ee2

View File

@ -148,7 +148,7 @@ class MakeadminAction extends RedirectingAction
$this->group->getBestName());
}
$this->returnToArgs();
$this->returnToPrevious();
}
/**