Skip to content
Extraits de code Groupes Projets
Valider e7f25652 rédigé par mattab's avatar mattab
Parcourir les fichiers

Fix bug in Frontcontroller

parent 1eca8279
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -99,7 +99,7 @@ class FrontController extends Singleton
*/
Piwik::postEvent('Request.dispatch', array(&$module, &$action, &$parameters));
$controller = $this->makeController($module, $action);
list($controller, $action) = $this->makeController($module, $action);
/**
* This event exists for convenience and is triggered directly after the [Request.dispatch](#)
......@@ -182,7 +182,7 @@ class FrontController extends Singleton
if (!is_callable(array($controller, $action))) {
throw new Exception("Action '$action' not found in the controller '$controllerClassName'.");
}
return $controller;
return array($controller, $action);
}
protected function getClassNameController($module)
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter