From 3b2de1df1de1b6c42daa3bf8823be3a31416ede8 Mon Sep 17 00:00:00 2001 From: Alexander Demidov Date: Fri, 4 Oct 2013 17:53:23 +0400 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=20=D0=BA=20=D0=BF=D0=BE=D1=81=D0=BB=D0=B5?= =?UTF-8?q?=D0=B4=D0=BD=D0=B5=D0=BC=D1=83=20=D0=BA=D0=BE=D0=BC=D0=BC=D0=B8?= =?UTF-8?q?=D1=82=D1=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Image.class.php | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Image.class.php b/Image.class.php index aa9fa5a..2206929 100644 --- a/Image.class.php +++ b/Image.class.php @@ -51,8 +51,13 @@ abstract class Image extends File return static::$max_height; } - public function getVariant($size) + /** + * @param $size + * @param $force_create + * @return ImageVariant + */ + public function getVariant($size, $force_create = false) { - return parent::getImageVariant($size); + return parent::getImageVariant($size, $force_create); } } \ No newline at end of file