syntax error in last commit

This commit is contained in:
Michael Foster 2013-08-02 21:37:44 -04:00
parent e1aeccce5e
commit d99eba2c18

View File

@ -286,7 +286,7 @@ class ImageConvert extends ImageBase {
if ($this->gifsicle) {
if (trim(shell_exec("gifsicle --unoptimize -O2 --resize {$this->width}x{$this->height} < " .
escapeshellarg($this->src . '') . " \"#0-{$config['thumb_keep_animation_frames']}\" > " .
escapeshellarg($this->temp) . ';echo $?' !== '0') || !file_exists($this->temp))
escapeshellarg($this->temp) . ';echo $?') !== '0') || !file_exists($this->temp))
error('Failed to resize image!');
} else {
if (trim(shell_exec('convert ' . sprintf($config['convert_args'], $this->width, $this->height) . ' ' .