commit | 12a5735c15056e2807ac44a988868ac2244a19f1 | [log] [tgz] |
---|---|---|
author | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | Tue Dec 28 18:02:04 2021 +0100 |
committer | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | Tue Dec 28 18:02:04 2021 +0100 |
tree | bf333c5f769e1d46de514b3cede61d4c46da9697 | |
parent | 53457f79a834952eac370806a4076d13808a521c [diff] [blame] |
git subrepo commit (merge) mailcow/src/mailcow-dockerized subrepo: subdir: "mailcow/src/mailcow-dockerized" merged: "32243e56" upstream: origin: "https://github.com/mailcow/mailcow-dockerized.git" branch: "master" commit: "e2b4b6f6" git-subrepo: version: "0.4.3" origin: "???" commit: "???" Change-Id: I51e2016ef5ab88a8b0bdc08551b18f48ceef0aa5
diff --git a/mailcow/src/mailcow-dockerized/data/web/inc/functions.customize.inc.php b/mailcow/src/mailcow-dockerized/data/web/inc/functions.customize.inc.php index d594822..de1b22c 100644 --- a/mailcow/src/mailcow-dockerized/data/web/inc/functions.customize.inc.php +++ b/mailcow/src/mailcow-dockerized/data/web/inc/functions.customize.inc.php
@@ -234,8 +234,9 @@ $img_data = explode('base64,', customize('get', 'main_logo')); if ($img_data[1]) { $image->readImageBlob(base64_decode($img_data[1])); + return $image->identifyImage(); } - return $image->identifyImage(); + return false; } catch (ImagickException $e) { $_SESSION['return'][] = array( @@ -249,4 +250,4 @@ } break; } -} \ No newline at end of file +}