don't user build_thumb_html statically

This commit is contained in:
Shish 2012-08-18 19:47:57 +01:00
parent 7dd929e5a8
commit 5ddd358d5f

View File

@ -303,7 +303,7 @@ class ImageIO extends Extension {
}
else {
$error = "Image <a href='".make_link("post/view/{$existing->id}")."'>{$existing->id}</a> ".
"already has hash {$image->hash}:<p>".Themelet::build_thumb_html($existing);
"already has hash {$image->hash}:<p>".$this->theme->build_thumb_html($existing);
throw new ImageAdditionException($error);
}
}