set keywords to '' if not set in xml file

This commit is contained in:
Uwe Steinmann 2017-03-06 11:37:18 +01:00
parent fc7cd1c944
commit 62eb18f6a3

View File

@ -507,7 +507,7 @@ function insert_document($document) { /* {{{ */
$document['attributes']['comment'],
isset($document['attributes']['expires']) ? dateToTimestamp($document['attributes']['expires']) : 0,
$owner,
isset($document['attributes']['keywords']) ? $document['attributes']['keywords'] : 0,
isset($document['attributes']['keywords']) ? $document['attributes']['keywords'] : '',
$categories,
$filename,
$initversion['attributes']['orgfilename'],