Forgot my hat

This commit is contained in:
Sam Georges 2014-05-30 22:05:00 +10:00
parent 2bc02a7488
commit c74ff59d29
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}
/**