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

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)    
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:
Solve the problem : 33 - 28 = ?

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


 [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 by the end of next Sunday (CET). If this was a problem with the 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.