mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-01 05:55:02 +03:00
Ticket #168
This commit is contained in:
parent
e6a63f0fc2
commit
e4283b4175
2
engine/lib/external/LiveImage/Image.php
vendored
2
engine/lib/external/LiveImage/Image.php
vendored
|
@ -272,7 +272,7 @@ class LiveImage {
|
||||||
if(!function_exists($sResizeFunction)) $sResizeFunction = 'imagecopyresized';
|
if(!function_exists($sResizeFunction)) $sResizeFunction = 'imagecopyresized';
|
||||||
if(isset($ct) and $ct!=-1) $sResizeFunction = 'imagecopyresized';
|
if(isset($ct) and $ct!=-1) $sResizeFunction = 'imagecopyresized';
|
||||||
|
|
||||||
if(!@$sResizeFunction($tmp,$this->image,0,0,0,0,$width,$height,$this->width,$this->height)) {
|
if(!@$sResizeFunction($tmp,$this->image,0,0,$start_width,$start_height,$width,$height,$width,$height)) {
|
||||||
imagedestroy($tmp);
|
imagedestroy($tmp);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue