diff --git a/modules/cms/classes/CmsObjectQuery.php b/modules/cms/classes/CmsObjectQuery.php index 616b8d62b..0d236061e 100644 --- a/modules/cms/classes/CmsObjectQuery.php +++ b/modules/cms/classes/CmsObjectQuery.php @@ -70,9 +70,9 @@ class CmsObjectQuery public function find($fileName) { if ($this->useCache) - return forward_static_call($this->cmsObject, 'loadCached', $this->theme, $fileName); + return forward_static_call([$this->cmsObject, 'loadCached'], $this->theme, $fileName); else - return forward_static_call($this->cmsObject, 'load', $this->theme, $fileName); + return forward_static_call([$this->cmsObject, 'load'], $this->theme, $fileName); } /**