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

Bug #7008 PEAR_Frontend::setFrontendObject doesn't set the object
Submitted: 2006-03-03 11:03 UTC
From: cweiske Assigned: pajoye
Status: Closed Package: PEAR (version 1.4.7)
PHP Version: Irrelevant OS: any
Roadmaps: (Not assigned)    
Subscription  


 [2006-03-03 11:03 UTC] cweiske (Christian Weiske)
Description: ------------ Using PEAR_Frontend::setFrontendObject doesn't set the frontend object. function &setFrontendObject($uiobject) { ... if (method_exists($uiobject, 'userConfirm')) { $GLOBALS['_PEAR_FRONTEND_SINGLETON'] = &$obj; $GLOBALS['_PEAR_FRONTEND_CLASS'] = get_class($uiobject); ... } You assign $obj there, although it doesn't even exist!

Comments

 [2006-03-03 13:13 UTC] pajoye
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.