Skip to content

Commit

Permalink
- Fixed a bug associated with the object return bug fixed in the last…
Browse files Browse the repository at this point in the history
… release

  Never touch a running system :(


git-svn-id: http://svn.php.net/repository/pear/packages/DB_NestedSet/trunk@128946 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information
Daniel Khan committed May 27, 2003
1 parent 467a0bd commit 18986bc
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
1 change: 1 addition & 0 deletions NestedSet.php
Expand Up @@ -1348,6 +1348,7 @@ function _moveAcross($source, $target, $pos, $copy = false)

if ($pos != NESE_MOVE_BELOW) {
$c_id = $this->createRightNode($t_id, $values);
$clone = $this->pickNode($c_id);
if ($pos == NESE_MOVE_BEFORE) {
$this->moveTree($c_id, $t_id, $pos);
}
Expand Down
13 changes: 12 additions & 1 deletion package.xml
Expand Up @@ -17,6 +17,7 @@
o output the tree with
- PEAR::HTML_TreeMenu
- TigraMenu (http://www.softcomplex.com/products/tigra_menu/)
o It also features caching of SQL queries using PEAR::Cache
</description>
<license>PHP License</license>
<homepage>http://oss.webcluster.at</homepage>
Expand All @@ -39,14 +40,24 @@
<date>2003-05-25</date>
<state>stable</state>
<notes>
- FEATURES
- NEW FEATURES
o Now $NeSe->setAttr() allows a PEAR function cache object to be passed using
$NeSe->setAttr(array('cache'=>$cache_object));
if this object is set, the class will use it to cache database queries.
It will also flush this cache if the structure changes.
o All tree query methods now support an additional array named $addSQL.
This can be used to pass additional params to a query.
Means: You may now use joins to other tables.

- FIXES
o createRightNode() returned the node object instead of the new node id, which
caused problems whith some internal method calls.
o TreeMenu and TigraMenu output drivers contained a bug which made them not
create the whole tree under certain circumstances
Thanks to Alain Petignat for reporting this
o Some minor E_ALL fixes (The package shouldn't produce notices/warnings with
E_ALL set)
o Added TigraMenu.php to the package which was missing in the last release
</notes>
<filelist>
<dir name="/" baseinstalldir="DB" role="php">
Expand Down

0 comments on commit 18986bc

Please sign in to comment.