diff options
| author | Andrew Dolgov <cthulhoo@gmail.com> | 2012-07-05 12:06:39 -0700 |
|---|---|---|
| committer | Andrew Dolgov <cthulhoo@gmail.com> | 2012-07-05 12:06:39 -0700 |
| commit | 713d98563d58a3eacc6a066b3d49440688afa009 (patch) | |
| tree | 36d843026f8bfbd62f1134e357b40073d02be22a /classes/pref_instances.php | |
| parent | 68916212b2541344f487354a5ec1e7895aa1370a (diff) | |
| parent | 17f9d2003ac3f47db316630decd07143992ed16f (diff) | |
Merge pull request #20 from johnkeeping/strict-mode-fixes
Make Handler::before() hierarchy consistent
Diffstat (limited to 'classes/pref_instances.php')
| -rw-r--r-- | classes/pref_instances.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/pref_instances.php b/classes/pref_instances.php index aae5bbafb..fec95780a 100644 --- a/classes/pref_instances.php +++ b/classes/pref_instances.php @@ -7,8 +7,8 @@ class Pref_Instances extends Protected_Handler { return array_search($method, $csrf_ignored) !== false; } - function before() { - if (parent::before()) { + function before($method) { + if (parent::before($method)) { if ($_SESSION["access_level"] < 10) { print __("Your access level is insufficient to open this tab."); return false; |