mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-15 06:01:19 +00:00
fix width in task for creating preview
This commit is contained in:
parent
8bc9ab8f3c
commit
8b34c4f82e
|
@ -410,7 +410,7 @@ class SeedDMS_Task_Preview_Process_Folder { /* {{{ */
|
||||||
}
|
}
|
||||||
$files = $document->getDocumentFiles();
|
$files = $document->getDocumentFiles();
|
||||||
foreach($files as $file) {
|
foreach($files as $file) {
|
||||||
$this->previewer->createPreview($file, $width['detail'], $isnew);
|
$this->previewer->createPreview($file, $width, $isnew);
|
||||||
if($isnew){
|
if($isnew){
|
||||||
$this->logger->log('Task \'preview\': created preview ('.$width.'px) for attachment of document '.$document->getId().':'.$file->getId(), PEAR_LOG_INFO);
|
$this->logger->log('Task \'preview\': created preview ('.$width.'px) for attachment of document '.$document->getId().':'.$file->getId(), PEAR_LOG_INFO);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user