@@ -307,7 +307,7 @@ |
||
| 307 | 307 | if ($has_planes) { |
| 308 | 308 | $check_store = sql_getfetsel('valeur', 'spip_'.$table, 'nom='.sql_quote($casier)); |
| 309 | 309 | if ($check_store !== $serialized_store) { |
| 310 | - array_walk_recursive($store, function (&$value, $key) {if (is_string($value)) {$value = utf8_noplanes($value);}}); |
|
| 310 | + array_walk_recursive($store, function(&$value, $key) {if (is_string($value)) {$value = utf8_noplanes($value); }}); |
|
| 311 | 311 | $serialized_store = serialize($store); |
| 312 | 312 | ecrire_meta($casier, $serialized_store, null, $table); |
| 313 | 313 | } |
@@ -312,8 +312,7 @@ |
||
| 312 | 312 | ecrire_meta($casier, $serialized_store, null, $table); |
| 313 | 313 | } |
| 314 | 314 | } |
| 315 | - } |
|
| 316 | - else { |
|
| 315 | + } else { |
|
| 317 | 316 | ecrire_meta($casier, $store, null, $table); |
| 318 | 317 | } |
| 319 | 318 | } |