From aee33cde34a2afa305dbb3a6fc44cca27982a6a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Goetz?= Date: Mon, 4 May 2020 11:51:16 +0200 Subject: [PATCH] Check if image is not just an empty string. #205 --- libs/Config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/Config.php b/libs/Config.php index 4c000c9..42504b2 100644 --- a/libs/Config.php +++ b/libs/Config.php @@ -191,7 +191,7 @@ class Config extends BaseConfig public function hasImage(): bool { - return $this->hasValue('image'); + return $this->hasValue('image') && !empty($this->getValue('image')); } public function getImage()