diff --git a/htdocs/compta/facture/impayees.php b/htdocs/compta/facture/impayees.php
index 8094a3206d8..e3f30fc5c0e 100644
--- a/htdocs/compta/facture/impayees.php
+++ b/htdocs/compta/facture/impayees.php
@@ -217,7 +217,6 @@ if ($action == 'presend' && GETPOST('sendmail'))
$langs->load("other");
$resultmasssend.='
'.$langs->trans('ErrorCantReadFile',$file).'
';
dol_syslog('Failed to read file: '.$file);
- break ;
}
}
}
@@ -471,8 +470,8 @@ if ($resql)
else $titre.=' ('.$langs->trans("All").')';
$link='';
- if (empty($option)) $link=''.$langs->trans("ShowUnpaidLateOnly").'';
- elseif ($option == 'late') $link=''.$langs->trans("ShowUnpaidAll").'';
+ if (empty($option)) $link=''.$langs->trans("ShowUnpaidLateOnly").'';
+ elseif ($option == 'late') $link=''.$langs->trans("ShowUnpaidAll").'';
print_fiche_titre($titre,$link);
//print_barre_liste($titre,$page,$_SERVER["PHP_SELF"],$param,$sortfield,$sortorder,'',0); // We don't want pagination on this page