1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2025-01-20 04:59:27 +02:00

[Web] Do not try to detroy invalid imagick sessions

This commit is contained in:
André 2017-11-16 14:57:39 +01:00
parent 5211ab10ed
commit 967108c057

View File

@ -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'