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

Bug #322 Undefined var $autoConnect
Submitted: 2003-11-28 11:59 UTC
From: mike Assigned: quipo
Status: Closed Package: MDB_QueryTool
PHP Version: Irrelevant OS:
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 17 - 5 = ?

 
 [2003-11-28 11:59 UTC] mike
Description: ------------ In the constructor of MDB_QueryTool_Query there is if (!isset($options['autoConnect'])) { $autoConnect = true; } which should be: if (!isset($options['autoConnect'])) { $autoConnect = true; } else { $autoConnect = $options['autoConnect']; } Expected result: ---------------- No notice. Actual result: -------------- Notice: Undefined variable: autoConnect in w:\php\pear\MDB\QueryTool\Query.php on line 214

Comments

 [2003-11-28 14:21 UTC] quipo
This bug has been fixed in CVS. In case this was a documentation problem, the fix will show up at the end of next Sunday (CET) on pear.php.net. In case this was a pear.php.net website problem, the change will show up on the website in short time. Thank you for the report, and for helping us make PEAR better.