cvs: pear /DB_NestedSet NestedSet.php
| From: | Daniel Khan | Date: | Tue, 17 Feb 2004 12:43:46 +0000 |
| Subject: | cvs: pear /DB_NestedSet NestedSet.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-16615@lists.php.net to get a copy of this message | ||
datenpunk Tue Feb 17 07:43:46 2004 EDT
Modified files:
/pear/DB_NestedSet NestedSet.php
Log:
- Fixed wrong parameter count in getSiblings which caused $addSQL to be ignored. Thanks's to
Karsten Fernkorn for pointing out.
http://cvs.php.net/diff.php/pear/DB_NestedSet/NestedSet.php?r1=1.71&r2=1.72&ty=u
Index: pear/DB_NestedSet/NestedSet.php
diff -u pear/DB_NestedSet/NestedSet.php:1.71 pear/DB_NestedSet/NestedSet.php:1.72
--- pear/DB_NestedSet/NestedSet.php:1.71 Mon Jan 19 05:47:04 2004
+++ pear/DB_NestedSet/NestedSet.php Tue Feb 17 07:43:46 2004
@@ -16,7 +16,7 @@
// | Authors: Daniel Khan <dk@webcluster.at> |
// | Jason Rust <jason@rustyparts.com> |
// +----------------------------------------------------------------------+
-// $Id: NestedSet.php,v 1.71 2004/01/19 10:47:04 datenpunk Exp $
+// $Id: NestedSet.php,v 1.72 2004/02/17 12:43:46 datenpunk Exp $
//
// CREDITS:
@@ -60,7 +60,7 @@
*
* @author Daniel Khan <dk@webcluster.at>
* @package DB_NestedSet
-* @version $Revision: 1.71 $
+* @version $Revision: 1.72 $
* @access public
*/
@@ -677,7 +677,7 @@
}
$parent = $this->getParent($sibling, true);
- return $this->getChildren($parent, $keepAsArray, $aliasFields, $addSQL);
+ return $this->getChildren($parent, $keepAsArray, $aliasFields, false, $addSQL);
}
// }}}
@@ -2181,7 +2181,7 @@
'majorversion'=>$this->_majorversion,
'minorversion'=>$this->_minorversion,
'version'=>sprintf('%s.%s',$this->_majorversion,
$this->_minorversion),
- 'revision'=>str_replace('$', '',"$Revision: 1.71
$")
+ 'revision'=>str_replace('$', '',"$Revision: 1.72
$")
);
}
@@ -2605,7 +2605,7 @@
* Generic class for node objects
*
* @autor Daniel Khan <dk@webcluster.at>;
-* @version $Revision: 1.71 $
+* @version $Revision: 1.72 $
* @package DB_NestedSet
*
* @access private