diff options
author | Bharat Mediratta <bharat@menalto.com> | 2008-12-19 22:14:14 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2008-12-19 22:14:14 +0000 |
commit | 9d2d8243362c13e6e918f896b124dfd2181c8890 (patch) | |
tree | 0acc44995ffd074850198aaf7b6a937d12f6cb8a | |
parent | 17c0b01444cd2f5aa8e3926a50960e9e1c0d730d (diff) |
Fix a bug in admin delegation.
-rw-r--r-- | core/controllers/admin.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/controllers/admin.php b/core/controllers/admin.php index 30e65886..d6d65c69 100644 --- a/core/controllers/admin.php +++ b/core/controllers/admin.php @@ -34,7 +34,7 @@ class Admin_Controller extends Controller { $controller = new $controller; if ($args) { - $method = array_unshift($args); + $method = array_shift($args); } else { $method = "index"; } |