summaryrefslogtreecommitdiffstats
path: root/lib/private/Template/ResourceLocator.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Template/ResourceLocator.php')
-rwxr-xr-xlib/private/Template/ResourceLocator.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Template/ResourceLocator.php b/lib/private/Template/ResourceLocator.php
index eb6b1d3c594..468fe7e60a6 100755
--- a/lib/private/Template/ResourceLocator.php
+++ b/lib/private/Template/ResourceLocator.php
@@ -168,7 +168,7 @@ abstract class ResourceLocator {
return;
}
- if ($webRoot === null) {
+ if (!$webRoot) {
$webRoot = $this->findWebRoot($root);
if ($webRoot === null) {