diff --git a/htdocs/comm/mailing/cibles.php b/htdocs/comm/mailing/cibles.php index 7b01c1c5a22..13d72acb3d7 100644 --- a/htdocs/comm/mailing/cibles.php +++ b/htdocs/comm/mailing/cibles.php @@ -326,8 +326,6 @@ if ($object->fetch($id) >= 0) } // Si le module mailing est qualifie - if ($qualified) - { if ($allowaddtarget) { print '
'; diff --git a/htdocs/fichinter/index.php b/htdocs/fichinter/index.php index 6b8ce71bfb5..9e5f1526969 100644 --- a/htdocs/fichinter/index.php +++ b/htdocs/fichinter/index.php @@ -148,7 +148,6 @@ if ($resql) { if (! $conf->use_javascript_ajax) { - print ''; print ''.$fichinterstatic->LibStatut($status,$bool,0).''; print ''.(isset($vals[$status.$bool])?$vals[$status.$bool]:0).' '; diff --git a/htdocs/fourn/facture/list.php b/htdocs/fourn/facture/list.php index 3d7ac96f47e..b9ae654d4ca 100644 --- a/htdocs/fourn/facture/list.php +++ b/htdocs/fourn/facture/list.php @@ -819,7 +819,6 @@ if ($resql) if ($num > 0) { $i=0; - $totalarray=array(); while ($i < min($num,$limit)) { diff --git a/htdocs/fourn/facture/rapport.php b/htdocs/fourn/facture/rapport.php index e8696f0bdca..fb76247f5d7 100644 --- a/htdocs/fourn/facture/rapport.php +++ b/htdocs/fourn/facture/rapport.php @@ -146,6 +146,7 @@ if ($year) print ''.$langs->trans("Size").''; print ''.$langs->trans("Date").''; print ''; + if (is_resource($handle)) { while (($file = readdir($handle))!==false)