mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 15:33:15 +00:00
Prefixes are always an array
This commit is contained in:
@@ -175,7 +175,7 @@ class RecordHelper
|
||||
$field['thesaurus_prefixes'] = ThesaurusHelper::findPrefixesByXPath($databox, $xpath);
|
||||
} else {
|
||||
$field['thesaurus_concept_inference'] = false;
|
||||
$field['thesaurus_prefixes'] = null;
|
||||
$field['thesaurus_prefixes'] = [];
|
||||
}
|
||||
|
||||
//printf("Field \"%s\" <%s> (private: %b)\n", $name, $field['type'], $field['private']);
|
||||
|
Reference in New Issue
Block a user