Initialisation et valeur max
This commit is contained in:
parent
f7963f5289
commit
f6873b0607
@ -296,10 +296,14 @@ class WsEntreprise
|
||||
exit;
|
||||
}
|
||||
|
||||
!isset($dep) ? $dep = 0 : '';
|
||||
!isset($actif) ? $actif = -1 : '';
|
||||
!isset($position) ? $position = 0 : '';
|
||||
!isset($nbRep) ? $nbRep = 20 : '';
|
||||
//Initialisation
|
||||
if (!isset($dep)) { $dep = 0; }
|
||||
if (!isset($actif)) { $actif = -1; }
|
||||
if (!isset($position)) { $position = 0; }
|
||||
if (!isset($nbRep)) { $nbRep = 20; }
|
||||
|
||||
//Valeur max
|
||||
if($nbRep > 200) { $nbRep = 200; }
|
||||
|
||||
$departement = $dep;
|
||||
$error = new ErrorType();
|
||||
|
Loading…
x
Reference in New Issue
Block a user