[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:07:22 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   |
--------------------------+------------------------------
Changes (by scribu):

 * keywords:  2nd-opinion => needs-patch


Comment:

 I assume error suppression is used because `mysql_fetch_object()` throws a
 notice when there is no object left to fetch.

 Should be a way around that, though.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21870#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list