mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
Fix issue when page has no components (#993)
Triggered when getComponentProperties() called on a page with no components present.
This commit is contained in:
parent
751545f092
commit
10b55d8384
@ -294,6 +294,8 @@ class CmsCompoundObject extends CmsObject
|
||||
}
|
||||
|
||||
return [];
|
||||
} else {
|
||||
$objectComponentMap[$objectCode] = [];
|
||||
}
|
||||
|
||||
if (!isset($this->settings['components'])) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user