Passing NULL to argument 3 of mysql_fetch_object has undefined behavior.
Merge pull request #74 from kwhat/3.3/develop

Passing NULL to the third argument of mysql_fetch_object misbehaves on PHP 5.3