diff --git a/setup/extensionsmap.class.inc.php b/setup/extensionsmap.class.inc.php index 6063ea76c..a03cdfb2b 100644 --- a/setup/extensionsmap.class.inc.php +++ b/setup/extensionsmap.class.inc.php @@ -454,7 +454,8 @@ class iTopExtensionsMap */ public function GetAllExtensionsWithPreviouslyInstalled(): array { - return array_merge($this->aExtensions, $this->aInstalledExtensions ?? []); + //Mind the order, local extensions data must overwrite installed extensions data since installed extensions does not have the associated modules. + return array_merge($this->aInstalledExtensions ?? [] , $this->aExtensions ); } /**