mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +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();
|
||||
foreach($files as $file) {
|
||||
$this->previewer->createPreview($file, $width['detail'], $isnew);
|
||||
$this->previewer->createPreview($file, $width, $isnew);
|
||||
if($isnew){
|
||||
$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