Protection de la boucle

This commit is contained in:
Michael RICOIS 2011-11-28 12:38:59 +00:00
parent 9efd3d8ae5
commit 6524a49cb9

View File

@ -84,12 +84,14 @@ if (count($this->ListeTribunaux)>0) {
if (count($this->tabEvent)>0) {
foreach($this->tabEvent as $key => $event) {
$select = '';
foreach($this->saisie['even'] as $item){
if ($item->CodeEven==$key){
$select = ' selected';
break;
}
}
if (isset($this->saisie) && count($this->saisie)>0){
foreach($this->saisie['even'] as $item){
if ($item->CodeEven==$key){
$select = ' selected';
break;
}
}
}
$display = true;
/*if ( isset($inEditDialog) && $inEditDialog === true && empty($select) ){
$display = false;