Skip to content

Commit

Permalink
Update class.image.php
Browse files Browse the repository at this point in the history
  • Loading branch information
dziudek committed Mar 24, 2016
1 parent 9343bfb commit d27ba01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mod_image_show_gk4/styles/gk_startup/class.image.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

class GKIS_Startup_Image extends GKIS_Image {
// Creating thumbnails
function createThumbnail($path, $config, $width, $image_bg, $image_stretch, $quality) {
static function createThumbnail($path, $config, $width, $image_bg, $image_stretch, $quality) {
if(GKIS_Image::checkCache(GKIS_Image::translateName($path,$config['module_id']), $config['last_modification'], $config['module_id'])){
return TRUE;
}else{
Expand Down Expand Up @@ -125,4 +125,4 @@ function createThumbnail($path, $config, $width, $image_bg, $image_stretch, $qua
}
}

// EOF
// EOF

0 comments on commit d27ba01

Please sign in to comment.