thumb_create didn't return a tuple when creating a new thumb
This commit is contained in:
parent
f5bd65f529
commit
3b3907d153
@ -101,7 +101,7 @@ function plugin_thumb_create($fpath, $infos, $new_width, $new_height) {
|
||||
imagejpeg($scaled, $thumbpath);
|
||||
@chmod($thumbpath, 0777);
|
||||
|
||||
return $thumbpath;
|
||||
return array($thumbpath, $new_width, $new_height);
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user