You've already forked mailcow-dockerized
mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2025-09-16 09:26:45 +02:00
[Web] Do not try to detroy invalid imagick sessions
This commit is contained in:
@@ -34,7 +34,6 @@ function customize($_action, $_item, $_data = null) {
|
||||
$image->destroy();
|
||||
}
|
||||
catch (ImagickException $e) {
|
||||
$image->destroy();
|
||||
$_SESSION['return'] = array(
|
||||
'type' => 'danger',
|
||||
'msg' => 'Cannot validate image file'
|
||||
|
Reference in New Issue
Block a user