Check if image is not just an empty string. #205

This commit is contained in:
Stéphane Goetz 2020-05-04 11:51:16 +02:00 committed by GitHub
parent 04f95c8376
commit aee33cde34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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()