Fix Bug #802416: Document type is not detected

This commit is contained in:
Sebastian Meyer 2011-06-27 11:20:36 +02:00
parent f3b3bf296f
commit 4c2b56081a
2 changed files with 2 additions and 2 deletions

View File

@ -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 {

View File

@ -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);
}