diff --git a/Library/Installation/Updater/Updater040801.php b/Library/Installation/Updater/Updater040801.php index 435740a7f..cfae9cf24 100644 --- a/Library/Installation/Updater/Updater040801.php +++ b/Library/Installation/Updater/Updater040801.php @@ -67,7 +67,7 @@ private function initializeAdminDesktopMenuConfiguration() if (is_null($resourceOt)) { $resourceOt = new OrderedTool(); - $resourceOt->setTool($parametersTool); + $resourceOt->setTool($resourcesTool); $resourceOt->setType(0); $resourceOt->setOrder(2); $resourceOt->setLocked(false); @@ -86,7 +86,7 @@ private function initializeAdminDesktopMenuConfiguration() $messageOt->setType(0); $messageOt->setOrder(3); $messageOt->setLocked(false); - $messageOt->setName($parametersTool->getName()); + $messageOt->setName($messageTool->getName()); } $messageOt->setVisibleInDesktop(true); $this->om->persist($messageOt);