From aeadfd3a74ddf73d191f4dc9e15d419d2172239d Mon Sep 17 00:00:00 2001 From: real_nowhereman Date: Sat, 3 Jan 2009 19:59:34 +0000 Subject: [PATCH] again suppressing notices... --- fp-includes/core/core.bplustree.class.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/fp-includes/core/core.bplustree.class.php b/fp-includes/core/core.bplustree.class.php index dd493bf..53d0a0b 100755 --- a/fp-includes/core/core.bplustree.class.php +++ b/fp-includes/core/core.bplustree.class.php @@ -559,17 +559,17 @@ class BPlusTree_Node { * returns clone of the obect at position $position * @param long $position seek position */ - function getclone($position) { + function &getclone($position) { if ($this->fifo) { - $dict = $this->fifo->fifo_dict; + $dict =& $this->fifo->fifo_dict; if (isset($dict[$position])) { return $dict[$position]; } } - return new BPlusTree_Node( + $o =& new BPlusTree_Node( $this->flag, $this->size, $this->keylen, @@ -577,6 +577,7 @@ class BPlusTree_Node { $this->infile, $this ); + return $o; } /**