mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 06:53:15 +00:00
@@ -977,8 +977,8 @@ class databox extends base
|
||||
|
||||
$dom = new DOMDocument();
|
||||
|
||||
if ($thesaurus && false !== $tmp = $dom->loadXML($thesaurus)) {
|
||||
self::$_dom_thesaurus[$sbas_id] = $tmp;
|
||||
if ($thesaurus && false !== ($dom->loadXML($thesaurus))) {
|
||||
self::$_dom_thesaurus[$sbas_id] = $dom;
|
||||
} else {
|
||||
self::$_dom_thesaurus[$sbas_id] = false;
|
||||
unset($dom);
|
||||
|
Reference in New Issue
Block a user