From a664243715cbb8dbb72ff9de85eaec2d94dc7eff Mon Sep 17 00:00:00 2001 From: Alexander Demidov Date: Mon, 23 Sep 2013 17:21:33 +0400 Subject: [PATCH] =?UTF-8?q?=D0=98=D0=B7=D0=BC=D0=B5=D0=BD=D0=B5=D0=BD?= =?UTF-8?q?=D0=B8=D0=B5=20=D0=B0=D0=BB=D0=B3=D0=BE=D1=80=D0=B8=D1=82=D0=BC?= =?UTF-8?q?=D0=B0=20=D1=80=D0=B5=D1=81=D0=B0=D0=B9=D0=B7=D0=B8=D0=BD=D0=B3?= =?UTF-8?q?=D0=B0=20(=D0=BF=D1=80=D0=B0=D0=B2=D0=B8=D0=BB=D1=8C=D0=BD?= =?UTF-8?q?=D1=8B=D0=B9=20=D0=B2=D0=B0=D1=80=D0=B8=D0=B0=D0=BD=D1=82).?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Upload.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Upload.class.php b/Upload.class.php index 061a33f..5d8aca9 100644 --- a/Upload.class.php +++ b/Upload.class.php @@ -63,7 +63,7 @@ abstract class Upload if (!(ImageVariant::getIsClass($image)) && Image::getIsSubClass($image)) { $greagwar_image->resize($width, $height, 0xffffff, $force = false, $rescale = false, $crop = true); } else { - $greagwar_image->resize($width, $height, 0xffffff, $force = true, $rescale = true, $crop = false); + $greagwar_image->resize($width, $height, 0xffffff, $force = false, $rescale = false, $crop = false); } } $image->type = $greagwar_image->guessType();