syntax error in last commit
This commit is contained in:
parent
e1aeccce5e
commit
d99eba2c18
@ -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) . ' ' .
|
||||
|
Loading…
Reference in New Issue
Block a user