/trunk/jrest/bibliotheque/Cel.php |
---|
95,8 → 95,12 |
protected function protegerTableau(Array $tableau) { |
foreach ($tableau as $id => $val) { |
if ($val === null) { |
$tableau[$id] = 'NULL'; |
} else { |
$tableau[$id] = Cel::db()->proteger($val); |
} |
} |
return $tableau; |
} |