summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/controllers/admin.php2
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";
}