From c74ff59d29ec0bf61d0f94dd244d88a437597bc7 Mon Sep 17 00:00:00 2001 From: Sam Georges Date: Fri, 30 May 2014 22:05:00 +1000 Subject: [PATCH] Forgot my hat --- modules/cms/classes/CmsObjectQuery.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } /**