Correction condition traitement

This commit is contained in:
Michael RICOIS 2009-07-07 09:24:04 +00:00
parent bf73885bcd
commit a8486a0ade

View File

@ -43,10 +43,11 @@ if($nomFic == ''){
$output = '';
$count = 0;
$nbAnnonces = count($annonces);
if($nbAnnonces>0){
foreach($annonces as $annonce){
if($count>$nbAnnoncesMax) break;
if($count>$nbAnnoncesMin){
if($count>=$nbAnnoncesMin){
$output.= '<page backtop="10mm" backbottom="10mm">';
$output.= '<page_header>';
$output.= '<table style="width:100%; border:solid 1px black;">';