Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 2.5.0b5

Bug #12246 Incorrect code in isStatement function
Submitted: 2007-10-15 07:51 UTC
From: zaa Assigned: quipo
Status: Closed Package: MDB2 (version 2.4.1)
PHP Version: 5.2.4 OS: FreeBSD
Roadmaps: (Not assigned)    
Subscription  


 [2007-10-15 07:51 UTC] zaa (Alexander Zhuravlev)
Description: ------------ Hello, MDB2.php file has incorrect code for the isStatement function. According to MDB2 code all prepared statements are subclasses of MDB2_Statement_Common class, but the function checks an object against MDB2_Statement class (not MDB2_Statement_Common). Attached patch fixed the issue for me. Best regards,

Comments

 [2007-10-15 22:08 UTC] quipo (Lorenzo Alberton)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.