summaryrefslogtreecommitdiffstats
path: root/Mustache
diff options
context:
space:
mode:
authorSimon Rettberg2016-05-11 19:00:30 +0200
committerSimon Rettberg2016-05-11 19:00:30 +0200
commit1cc1c2ed092c46eb35893c1d85accb24cf43d7f9 (patch)
tree95c1302f4a1ae441e174a1dca64133e2873f8297 /Mustache
parentAdd PhpStorm prefs (diff)
downloadslx-admin-1cc1c2ed092c46eb35893c1d85accb24cf43d7f9.tar.gz
slx-admin-1cc1c2ed092c46eb35893c1d85accb24cf43d7f9.tar.xz
slx-admin-1cc1c2ed092c46eb35893c1d85accb24cf43d7f9.zip
Still working in modularization cleanup and refinement
Diffstat (limited to 'Mustache')
-rw-r--r--Mustache/Engine.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/Mustache/Engine.php b/Mustache/Engine.php
index ca909bca..e1f6b8cf 100644
--- a/Mustache/Engine.php
+++ b/Mustache/Engine.php
@@ -444,6 +444,7 @@ class Mustache_Engine
} catch (InvalidArgumentException $e) {
// If the named partial cannot be found, return null.
}
+ return null;
}
/**
@@ -557,6 +558,7 @@ class Mustache_Engine
if ($this->cache) {
return sprintf('%s/%s.php', $this->cache, $this->getTemplateClassName($source));
}
+ return false;
}
/**