This commit is contained in:
Sam Georges 2014-05-30 22:12:35 +10:00
parent c74ff59d29
commit 435b6d30f9
1 changed files with 3 additions and 0 deletions

View File

@ -69,6 +69,9 @@ class CmsObjectQuery
*/
public function find($fileName)
{
if (!$this->theme)
$this->inEditTheme();
if ($this->useCache)
return forward_static_call([$this->cmsObject, 'loadCached'], $this->theme, $fileName);
else