owncloud/apps — pull request #1261 by ogasser (2013-07-28 14:08:20+00:00)
Title: numRows() returns int

numRows() returns an int [1] and should thus be compared to an int and not a string.

[1] http://pear.php.net/package/MDB2/docs/latest/MDB2/MDB2_Result_Common.html#methodnumRows