summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-10-15 15:33:54 -0700
committerBrion Vibber <brion@pobox.com>2010-10-15 15:33:54 -0700
commit9a35e48ee2a15ded31dd1dba8e0af9071e8a28ac (patch)
tree9dab9d9f2fd28eb0b936bd0cce24d4896adf50ae
parent90e54f6cf08f74478d152c329363bcd77eea6329 (diff)
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!
-rw-r--r--actions/makeadmin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/makeadmin.php b/actions/makeadmin.php
index 9ccb44230..4e6e97a56 100644
--- a/actions/makeadmin.php
+++ b/actions/makeadmin.php
@@ -148,7 +148,7 @@ class MakeadminAction extends RedirectingAction
$this->group->getBestName());
}
- $this->returnToArgs();
+ $this->returnToPrevious();
}
/**