summaryrefslogtreecommitdiffstats
path: root/lib/vcategories.php
diff options
context:
space:
mode:
authorJörn Friedrich Dreyer <jfd@butonic.de>2013-06-20 14:47:42 +0200
committerJörn Friedrich Dreyer <jfd@butonic.de>2013-06-24 16:29:59 +0200
commitc223bee6df33b3208dbb5a7c46dbeb98eccf10ac (patch)
treef2c77ec0c7c28d82ffd3f1c0a69bd3e050e58746 /lib/vcategories.php
parent88fc410c1936510b84497b677248cd20db9fd87f (diff)
downloadnextcloud-server-c223bee6df33b3208dbb5a7c46dbeb98eccf10ac.tar.gz
nextcloud-server-c223bee6df33b3208dbb5a7c46dbeb98eccf10ac.zip
fix numRows usage in core lib
Diffstat (limited to 'lib/vcategories.php')
-rw-r--r--lib/vcategories.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vcategories.php b/lib/vcategories.php
index 7bac6e7d4e3..84036958359 100644
--- a/lib/vcategories.php
+++ b/lib/vcategories.php
@@ -125,7 +125,7 @@ class OC_VCategories {
OC_Log::write('core', __METHOD__. 'DB error: ' . OC_DB::getErrorMessage($result), OC_Log::ERROR);
return false;
}
- return ($result->numRows() == 0);
+ return ($result->numRows() === 0);
} catch(Exception $e) {
OCP\Util::writeLog('core', __METHOD__.', exception: '.$e->getMessage(),
OCP\Util::ERROR);