Forgot my hat
This commit is contained in:
parent
2bc02a7488
commit
c74ff59d29
|
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue