ecrire/inc/editer.php 1 location
|
@@ 335-337 (lines=3) @@
|
| 332 |
|
// TODO: ici aussi on peut valider les contenus |
| 333 |
|
// en fonction du type |
| 334 |
|
$champs = array(); |
| 335 |
|
foreach($desc['field'] as $champ => $ignore) |
| 336 |
|
if (isset($c[$champ])) |
| 337 |
|
$champs[$champ] = $c[$champ]; |
| 338 |
|
|
| 339 |
|
// Nettoyer les valeurs |
| 340 |
|
$champs = array_map('corriger_caracteres', $champs); |
ecrire/inc/modifier.php 1 location
|
@@ 141-143 (lines=3) @@
|
| 138 |
|
// TODO: ici aussi on peut valider les contenus |
| 139 |
|
// en fonction du type |
| 140 |
|
$champs = array(); |
| 141 |
|
foreach($desc['field'] as $champ => $ignore) |
| 142 |
|
if (isset($c[$champ])) |
| 143 |
|
$champs[$champ] = $c[$champ]; |
| 144 |
|
|
| 145 |
|
// Nettoyer les valeurs |
| 146 |
|
$champs = array_map('corriger_caracteres', $champs); |