Commit ff5cad26 authored by Sylvain's avatar Sylvain

Idem

parent 32ee2a32
...@@ -652,7 +652,7 @@ class Field2Bt4 ...@@ -652,7 +652,7 @@ class Field2Bt4
// Etape 4 - Suppression des valeurs null // Etape 4 - Suppression des valeurs null
foreach($attributes as $name => $value) { foreach($attributes as $name => $value) {
if (is_null($value)) { if (is_null($value) || $value == false || $value == '') {
unset($attributes[$name]); unset($attributes[$name]);
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment