Protection de la boucle
This commit is contained in:
parent
9efd3d8ae5
commit
6524a49cb9
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user