From 3b3907d1538c0bbc645a380ca102db32bc420c03 Mon Sep 17 00:00:00 2001 From: real_nowhereman Date: Fri, 22 Feb 2008 10:23:43 +0000 Subject: [PATCH] thumb_create didn't return a tuple when creating a new thumb --- fp-plugins/thumb/plugin.thumb.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fp-plugins/thumb/plugin.thumb.php b/fp-plugins/thumb/plugin.thumb.php index 1257b05..b1f56ee 100755 --- a/fp-plugins/thumb/plugin.thumb.php +++ b/fp-plugins/thumb/plugin.thumb.php @@ -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); }