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

Bug #4349 Problem with driver 'Menu'
Submitted: 2005-05-15 00:53 UTC Modified: 2005-10-25 17:31 UTC
From: joe at dogmatix dot cz Assigned: datenpunk
Status: Closed Package: DB_NestedSet
PHP Version: 5.0.4 OS: any
Roadmaps: (Not assigned)    
Subscription  


 [2005-05-15 00:53 UTC] joe at dogmatix dot cz
Description: ------------ In file DB\NestedSet\Menu.php - method '_createFromStructure($params)' is using static $menuStructure, $menuParts; Then is not possible use more that one object of this type class. Please update definition of this static variables perhaps like this: function _createFromStructure($params, $menuStructure = array(), $menuParts = array()) { .. .. .. $this->_createFromStructure($recurseParams, $menuStructure, $menuParts); }

Comments

 [2005-10-25 17:31 UTC] datenpunk at php dot net
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. Thanks! -- Daniel Khan