diff --git a/bureau/admin/adm_dodel.php b/bureau/admin/adm_dodel.php
index b26103ca..50afe6e8 100644
--- a/bureau/admin/adm_dodel.php
+++ b/bureau/admin/adm_dodel.php
@@ -34,7 +34,7 @@ if (!$admin->enabled) {
exit();
}
-if($_POST["del_confirm"] == "y"){
+if(isset($_POST["del_confirm"]) && $_POST["del_confirm"] == "y"){
if (!is_array($d)) {
$d[]=$d;
}
@@ -46,9 +46,9 @@ if($_POST["del_confirm"] == "y"){
exit();
}
if (!($u=$admin->get($val)) || !$admin->del_mem($val)) {
- $error.=sprintf(_("Member '%s' does not exist"),$val)."
";
+ $error=sprintf(_("Member '%s' does not exist"),$val)."
";
} else {
- $error.=sprintf(_("Member %s successfully deleted"),$u["login"])."
";
+ $error=sprintf(_("Member %s successfully deleted"),$u["login"])."
";
}
}
include("adm_list.php");
diff --git a/bureau/admin/browseforfolder.php b/bureau/admin/browseforfolder.php
index 609670be..89c2b2b2 100644
--- a/bureau/admin/browseforfolder.php
+++ b/bureau/admin/browseforfolder.php
@@ -76,7 +76,7 @@ $brlist=array(); /* Liste des dossiers ... */
$maxlevel=0;
-if ($select) {
+if (isset($select) && $select) {
/* Go ahead, let's send the javascript ...*/
?>
diff --git a/bureau/admin/sta2_add_raw.php b/bureau/admin/sta2_add_raw.php
index bb720e86..e6e9dadb 100644
--- a/bureau/admin/sta2_add_raw.php
+++ b/bureau/admin/sta2_add_raw.php
@@ -39,7 +39,7 @@ include_once("head.php");