mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-11 12:03:14 +00:00
Merge pull request #286 from jygaulier/fix_1073_1074
[3.8] Fix 1073 1074
This commit is contained in:
@@ -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