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  


 [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.