From 5ddd358d5ff15c0df45e07c52d5fc9b0a2c26bc2 Mon Sep 17 00:00:00 2001 From: Shish Date: Sat, 18 Aug 2012 19:47:57 +0100 Subject: [PATCH] don't user build_thumb_html statically --- ext/image/main.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/image/main.php b/ext/image/main.php index 8c1496d4..f1e9aac6 100644 --- a/ext/image/main.php +++ b/ext/image/main.php @@ -303,7 +303,7 @@ class ImageIO extends Extension { } else { $error = "Image {$existing->id} ". - "already has hash {$image->hash}:

".Themelet::build_thumb_html($existing); + "already has hash {$image->hash}:

".$this->theme->build_thumb_html($existing); throw new ImageAdditionException($error); } }