Funnily enough, this occurs in this function: ================= snip =================== public static function num_rows($resource) { $result = mysql_num_rows($resource);
if (!$result) { return '0'; } return $result; } ================ snip ================= Waht happened? The upstream developer chose to wrap the mysql_num_rows() function in order to compensate its failure to return consistent types. While doing so, they stumble upon ... mysql_query() doing the same :D. That epic fail is of course a PHP bug, but PHP devs do not fix it because it is by design. I provide this information in order to find other bugs in similar code if possible ... -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org