1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-06-29 04:55:02 +03:00
This commit is contained in:
Mzhelskiy Maxim 2011-04-25 15:37:31 +00:00
parent e6a63f0fc2
commit e4283b4175

View file

@ -272,7 +272,7 @@ class LiveImage {
if(!function_exists($sResizeFunction)) $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);
return false;
}