[wp-trac] [WordPress Trac] #21870: @ error control operator hides fatal error on mysql_fetch_object
WordPress Trac
wp-trac at lists.automattic.com
Tue Sep 11 15:21:50 UTC 2012
#21870: @ error control operator hides fatal error on mysql_fetch_object
--------------------------+------------------------------
Reporter: ericlewis | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Database | Version: 1.5
Severity: normal | Resolution:
Keywords: needs-patch |
--------------------------+------------------------------
Comment (by nacin):
#11151 as a duplicate?
I don't see any notes in the documentation that mysql_fetch_object() can
throw a notice. It returns false if there's nothing else to fetch.
However, if the resource isn't a resource, you get a warning. We
eliminated similar error suppression in [21511].
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21870#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list