From ba14e9289d80e9754792c2515e14e004c6607dd5 Mon Sep 17 00:00:00 2001 From: efalcy <efalcy@afi-sa.fr> Date: Tue, 30 May 2017 16:21:24 +0200 Subject: [PATCH] hotline #60846 impossible d'editer les boites de la banniere en backoffice --- VERSIONS_HOTLINE/60846 | 1 + library/Class/Systeme/Widget/Widget.php | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 VERSIONS_HOTLINE/60846 diff --git a/VERSIONS_HOTLINE/60846 b/VERSIONS_HOTLINE/60846 new file mode 100644 index 00000000000..7beeaafb424 --- /dev/null +++ b/VERSIONS_HOTLINE/60846 @@ -0,0 +1 @@ + - ticket #60846 : Problème d'édition des boites de la bannière en backoffice \ No newline at end of file diff --git a/library/Class/Systeme/Widget/Widget.php b/library/Class/Systeme/Widget/Widget.php index a23e325cf6e..07bb773d82e 100644 --- a/library/Class/Systeme/Widget/Widget.php +++ b/library/Class/Systeme/Widget/Widget.php @@ -28,8 +28,9 @@ class Class_Systeme_Widget_Widget extends Class_Systeme_Widget_Abstract { protected function _findLeaf($id) { - $cfg = $this->getProfile()->getCfgAccueilAsArray()['modules']; - return isset($cfg[$id]) ? $cfg[$id] : []; + if ($cfg = $this->getProfile()->getLocalModuleAccueilConfig($id)) + return $cfg; + return []; } -- GitLab