PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Database » DB_NestedSet » Bug #4349

Problem with driver 'Menu'

Details

Submitted2005-05-15 05:53 UTC
Fromjoe at dogmatix dot cz
Assigneddatenpunk
StatusClosed
PackageDB_NestedSet
PHP Version5.0.4
OSany
Roadmaps(Not assigned)

Comments

[2005-05-15 05: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);
}

[2005-10-25 22: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