don't user build_thumb_html statically
This commit is contained in:
parent
7dd929e5a8
commit
5ddd358d5f
@ -303,7 +303,7 @@ class ImageIO extends Extension {
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$error = "Image <a href='".make_link("post/view/{$existing->id}")."'>{$existing->id}</a> ".
|
$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);
|
throw new ImageAdditionException($error);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user