small mistake in thumbnail animation. was trying to animate all formats (not just GIF).

This commit is contained in:
Michael Save 2012-03-12 18:54:05 +11:00
parent 85a6f32e89
commit 77c256157f

View File

@ -172,7 +172,7 @@
public function resize() {
global $config;
if($config['thumb_ext'] == 'gif') {
if(preg_match('/\.gif$/', $src)) {
$this->image = new Imagick();
$this->image->setFormat('gif');