1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-29 09:44:28 +01:00

syntax error in last commit

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

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) . ' ' .