Prefixes are always an array

This commit is contained in:
Mathieu Darse
2015-04-28 11:26:28 +02:00
parent c6075fcc1a
commit 69b64540f7

View File

@@ -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']);