mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-06-20 16:39:54 -04:00
Fix a bug in admin delegation.
This commit is contained in:
@@ -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";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user