mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 15:03:25 +00:00
Fix thesaurus candidate terms xml creation
This commit is contained in:

committed by
Mathieu Darse

parent
ed3ffb59a6
commit
95243763f2
@@ -887,7 +887,10 @@ class databox extends base
|
||||
|
||||
public function saveCterms(DOMDocument $dom_cterms)
|
||||
{
|
||||
|
||||
if (null === $dom_cterms->documentElement) {
|
||||
$cterms = $dom_cterms->createElement('cterms');
|
||||
$dom_cterms->appendChild($cterms);
|
||||
}
|
||||
$dom_cterms->documentElement->setAttribute("modification_date", $now = date("YmdHis"));
|
||||
|
||||
$sql = "UPDATE pref SET value = :xml, updated_on = :date
|
||||
|
Reference in New Issue
Block a user