Check if image is not just an empty string. #205
This commit is contained in:
parent
04f95c8376
commit
aee33cde34
@ -191,7 +191,7 @@ class Config extends BaseConfig
|
|||||||
|
|
||||||
public function hasImage(): bool
|
public function hasImage(): bool
|
||||||
{
|
{
|
||||||
return $this->hasValue('image');
|
return $this->hasValue('image') && !empty($this->getValue('image'));
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getImage()
|
public function getImage()
|
||||||
|
Loading…
Reference in New Issue
Block a user