Browse Source

Добавление к последнему коммиту

master
Alexander Demidov 11 years ago
parent
commit
3b2de1df1d
  1. 9
      Image.class.php

9
Image.class.php

@ -51,8 +51,13 @@ abstract class Image extends File
return static::$max_height; 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);
} }
} }
Loading…
Cancel
Save