Skip to content
Snippets Groups Projects
Commit 32718c7b authored by Sofiane Lasri's avatar Sofiane Lasri
Browse files

Bug fix in modules activation -> wrong aliases

parent bb3f7954
Branches pre-2.1b
No related tags found
No related merge requests found
...@@ -43,7 +43,7 @@ if (isset($_GET["getNotifications"])) { ...@@ -43,7 +43,7 @@ if (isset($_GET["getNotifications"])) {
// Maintenant on va créer l'instance de l'extension et l'activer // Maintenant on va créer l'instance de l'extension et l'activer
if($extensionInfos["type"]=="module"){ if($extensionInfos["type"]=="module"){
$calledmodule = new module($extensionInfos["name"]); $calledmodule = new module($extensionInfos["name"]);
$calledmodule->initModule($extensionInfos["name"], $extensionInfos["path"], $extensionInfos["adminAccess"], $extensionInfos["clientAccess"], $extensionInfos["compatible"], $extensionInfos["workshopId"]); $calledmodule->initModule($extensionInfos["name"], $extensionInfos["path"], $extensionToEnable["adminAccess"], $extensionToEnable["clientAccess"], $extensionInfos["compatible"], $extensionInfos["workshopId"]);
} }
} elseif (isset($_GET["disableExtension"])&&!empty($_GET["disableExtension"])){ } elseif (isset($_GET["disableExtension"])&&!empty($_GET["disableExtension"])){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment