diff --git a/bureau/admin/bro_pref.php b/bureau/admin/bro_pref.php
index 8eca2175..d7d1b347 100644
--- a/bureau/admin/bro_pref.php
+++ b/bureau/admin/bro_pref.php
@@ -62,8 +62,8 @@ include_once("head.php");
diff --git a/bureau/admin/menu_adm.php b/bureau/admin/menu_adm.php
index cf95a455..5ad9472e 100644
--- a/bureau/admin/menu_adm.php
+++ b/bureau/admin/menu_adm.php
@@ -42,9 +42,9 @@ if ($mem->checkRight()) { ?>
">
-
+
-
+
diff --git a/bureau/class/m_bro.php b/bureau/class/m_bro.php
index 946b133b..1f3ce951 100644
--- a/bureau/class/m_bro.php
+++ b/bureau/class/m_bro.php
@@ -245,7 +245,7 @@ class m_bro {
else
$ext=$t[count($t)-1];
// Now seek the extension
- if (!$bro_icon[$ext]) {
+ if (!isset($bro_icon[$ext]) || ! $bro_icon[$ext]) {
return "file.png";
} else {
return $bro_icon[$ext].".png";
@@ -271,7 +271,7 @@ class m_bro {
else
$ext=$t[count($t)-1];
// Now seek the extension
- if (!$bro_type[$ext]) {
+ if (empty($bro_type[$ext])) {
return "File";
} else {
return $bro_type[$ext];