owncloud/mozilla_sync — pull request #12 by ogasser (2013-10-20 20:31:31+00:00)
Title: Cast numRows() to int before comparing identity

For some configurations (e.g. Mysql 5.5.31, PHP 5.4.4) , numRows() returns a string instead of an int.
Casting it to int before comparing using === or !== removes this issue.

See commit 952414dba7bc8ca and issue #11.