Protection array
This commit is contained in:
parent
0d83a49830
commit
4e31eee192
@ -550,10 +550,12 @@ class SaisieController extends Zend_Controller_Action
|
||||
$jugement->dateJuge = $tabJugement['dateJuge'];
|
||||
$jugement->tribunal = $tabJugement['tribunal'];
|
||||
$jugement->even = array();
|
||||
foreach ( $tabJugement['even'] as $even ){
|
||||
$codeEven = new stdClass();
|
||||
$codeEven->code = $even;
|
||||
$jugement->even[] = $codeEven;
|
||||
if (count($tabJugement['even']>0)){
|
||||
foreach ( $tabJugement['even'] as $even ){
|
||||
$codeEven = new stdClass();
|
||||
$codeEven->code = $even;
|
||||
$jugement->even[] = $codeEven;
|
||||
}
|
||||
}
|
||||
$jugement->admin = $tabJugement['admin'];
|
||||
$jugement->mand = $tabJugement['mand'];
|
||||
|
Loading…
x
Reference in New Issue
Block a user