Fix issue when page has no components (#993)

Triggered when getComponentProperties() called on a page with no components present.
This commit is contained in:
Marc Jauvin 2023-10-14 14:25:33 -04:00 committed by GitHub
parent 751545f092
commit 10b55d8384
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -294,6 +294,8 @@ class CmsCompoundObject extends CmsObject
}
return [];
} else {
$objectComponentMap[$objectCode] = [];
}
if (!isset($this->settings['components'])) {