Fix Bug #802416: Document type is not detected
This commit is contained in:
parent
f3b3bf296f
commit
4c2b56081a
|
@ -585,7 +585,7 @@ class tx_dlf_document {
|
|||
// Get the structure's type.
|
||||
if (!empty($this->logicalUnits[$id])) {
|
||||
|
||||
$_metadata['type'] = $this->logicalUnits[$id]['type'];
|
||||
$_metadata['type'] = array ($this->logicalUnits[$id]['type']);
|
||||
|
||||
} else {
|
||||
|
||||
|
|
|
@ -123,7 +123,7 @@ class tx_dlf_pageview extends tx_dlf_plugin {
|
|||
|
||||
} else {
|
||||
|
||||
trigger_error('File "'.$_fileGrpUrl.'" not found.', E_USER_WARNING);
|
||||
trigger_error('File "'.$_fileGrpUrl.'" not found', E_USER_WARNING);
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue