diff --git a/bureau/admin/bro_main.php b/bureau/admin/bro_main.php index beb33052..68f0dcbe 100755 --- a/bureau/admin/bro_main.php +++ b/bureau/admin/bro_main.php @@ -33,8 +33,8 @@ include_once ("head.php"); $fields = array ( "R" => array ("request", "string", ""), - "o" => array ("request", "array", ""), - "d" => array ("request", "array", ""), + "o" => array ("request", "array", array()), + "d" => array ("request", "array", array()), "perm" => array ("post", "array", array()), "formu" => array ("post", "integer", ""), "actextract" => array ("request", "string", ""), @@ -97,7 +97,7 @@ if (!empty($formu) && $formu) { $msg->raise("INFO", "bro", _("The file '%s' was successfully deleted"), $v); } } - } elseif (empty($cancel) && is_array($d)) { + } elseif (empty($cancel) && count($d)) { include_once("head.php"); ?>