diff --git a/action/crayons_store.php b/action/crayons_store.php index 6f33933..77051a4 100644 --- a/action/crayons_store.php +++ b/action/crayons_store.php @@ -399,7 +399,7 @@ function vues_dist($type, $modele, $id, $content, $wid) { } } - if ($valeur) { + if (!empty($valeur) or (is_scalar($valeur) and strlen($valeur))) { // seul spip core sait rendre les donnees if (function_exists('appliquer_traitement_champ')) { $valeur = appliquer_traitement_champ($valeur, $modele, table_objet($table)); diff --git a/paquet.xml b/paquet.xml index 6c4bcaa..129ddd2 100644 --- a/paquet.xml +++ b/paquet.xml @@ -1,7 +1,7 @@