diff options
author | Bart Visscher <bartv@thisnet.nl> | 2013-07-19 17:40:07 +0200 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2013-07-21 21:42:42 +0200 |
commit | 6d39e0ad6f8cc59566f83c5c9c6a227b2f569f94 (patch) | |
tree | e9ae25e66a1cf2353b293043649f30f74b43de2c /lib/template | |
parent | 01c39cf2bea11d6ebfb7c5abf60d5c6878dc3ad0 (diff) | |
download | nextcloud-server-6d39e0ad6f8cc59566f83c5c9c6a227b2f569f94.tar.gz nextcloud-server-6d39e0ad6f8cc59566f83c5c9c6a227b2f569f94.zip |
Change to use !== and ===
Diffstat (limited to 'lib/template')
-rw-r--r-- | lib/template/templatefilelocator.php | 2 |
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'); } |