mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 23:13:15 +00:00
Do not filter out falsy boolean values
This commit is contained in:
@@ -61,7 +61,7 @@ SQL;
|
|||||||
$value = $metadata['value'];
|
$value = $metadata['value'];
|
||||||
|
|
||||||
// Do not keep empty values
|
// Do not keep empty values
|
||||||
if (empty($key) || empty($value)) {
|
if ($key === '' || $value === '') {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user