mirror of
https://github.com/Circlepuller/Tinyboard.git
synced 2025-01-17 21:39:27 +01:00
Fix last commit
This commit is contained in:
parent
4fce9b63ae
commit
169dc74938
@ -294,7 +294,7 @@ class ImageConvert extends ImageBase {
|
||||
error('Failed to resize image!');
|
||||
}
|
||||
} else {
|
||||
if (shell_exec('convert ' . sprintf($config['convert_args'], $this->width, $this->height) .
|
||||
if (shell_exec('convert -flatten ' . sprintf($config['convert_args'], $this->width, $this->height) .
|
||||
escapeshellarg($this->src . '[0]') . " " . escapeshellarg($this->temp)) || !file_exists($this->temp))
|
||||
error('Failed to resize image!');
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user