From 55cd98e9c1ec27767e9a50d437c52628853868cd Mon Sep 17 00:00:00 2001 From: David Grudl Date: Tue, 26 Jan 2010 19:55:00 +0100 Subject: [PATCH] DibiFluent: fixed support for cloning --- dibi/libs/DibiFluent.php | 1 + 1 file changed, 1 insertion(+) diff --git a/dibi/libs/DibiFluent.php b/dibi/libs/DibiFluent.php index c67ee2f1..e5def376 100644 --- a/dibi/libs/DibiFluent.php +++ b/dibi/libs/DibiFluent.php @@ -460,6 +460,7 @@ class DibiFluent extends DibiObject implements IDataSource // remove references foreach ($this->clauses as $clause => $val) { $this->clauses[$clause] = & $val; + unset($val); } $this->cursor = & $foo; }