summaryrefslogtreecommitdiffstats
path: root/lib/template
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2013-07-19 17:40:07 +0200
committerBart Visscher <bartv@thisnet.nl>2013-07-21 21:42:42 +0200
commit6d39e0ad6f8cc59566f83c5c9c6a227b2f569f94 (patch)
treee9ae25e66a1cf2353b293043649f30f74b43de2c /lib/template
parent01c39cf2bea11d6ebfb7c5abf60d5c6878dc3ad0 (diff)
downloadnextcloud-server-6d39e0ad6f8cc59566f83c5c9c6a227b2f569f94.tar.gz
nextcloud-server-6d39e0ad6f8cc59566f83c5c9c6a227b2f569f94.zip
Change to use !== and ===
Diffstat (limited to 'lib/template')
-rw-r--r--lib/template/templatefilelocator.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/template/templatefilelocator.php b/lib/template/templatefilelocator.php
index cc5e88771ff..d5a484b1a14 100644
--- a/lib/template/templatefilelocator.php
+++ b/lib/template/templatefilelocator.php
@@ -19,7 +19,7 @@ class TemplateFileLocator {
}
public function find( $template ) {
- if ($template == '') {
+ if ($template === '') {
throw new \InvalidArgumentException('Empty template name');
}