1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-05-19 09:18:18 +03:00
This commit is contained in:
Mzhelskiy Maxim 2015-08-18 15:55:38 +07:00
parent 49ad5beb36
commit 3508ca01a7

View file

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