diff --git a/library/Class/Systeme/MenuHorizontal.php b/library/Class/Systeme/MenuHorizontal.php
index bce33706836e5bb386779e07a3b7f58c70419e3c..5508e395ab70d55ad33dceb3fe2c95c38983cdf1 100644
--- a/library/Class/Systeme/MenuHorizontal.php
+++ b/library/Class/Systeme/MenuHorizontal.php
@@ -52,7 +52,9 @@ class Class_Systeme_MenuHorizontal {
 
 
 	public function getMenuPrefencesByIdModule($id_module) {
-		return $this->_index_menus[$id_module]['preferences'];
+		if(isset($this->_index_menus[$id_module]['preferences']))
+			return $this->_index_menus[$id_module]['preferences'];
+		return [];
 	}