From 9d2d8243362c13e6e918f896b124dfd2181c8890 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Fri, 19 Dec 2008 22:14:14 +0000 Subject: Fix a bug in admin delegation. --- core/controllers/admin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/controllers/admin.php') 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"; } -- cgit v1.2.3