mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-05-19 09:18:18 +03:00
Media fix #705
This commit is contained in:
parent
49ad5beb36
commit
3508ca01a7
|
@ -908,7 +908,7 @@ class ModuleMedia extends ModuleORM
|
|||
/**
|
||||
* Проверяем необходимость автоматического создания превью нужного размера - если разрешено настройками и файл НЕ существует
|
||||
*/
|
||||
if ($this->GetConfigParam('image.autoresize',
|
||||
if ($sSize and $this->GetConfigParam('image.autoresize',
|
||||
$oMedia->getTargetType()) and !$this->Image_IsExistsFile($this->GetImagePathBySize($oMedia->getFilePath(),
|
||||
$sSize))
|
||||
) {
|
||||
|
|
Loading…
Reference in a new issue