summaryrefslogtreecommitdiffstats
path: root/Mustache/Engine.php
diff options
context:
space:
mode:
Diffstat (limited to 'Mustache/Engine.php')
-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;
}
/**