diff --git a/dblayeroo.php b/dblayeroo.php index 965254d..dbeaba9 100644 --- a/dblayeroo.php +++ b/dblayeroo.php @@ -1321,11 +1321,19 @@ class dblayeroo $this->joins = array (); $this->whereExpression = array (); $this->whereValues = array (); + $this->groupByExpression = null; $this->orderExpression = array (); $this->limitExpression = ""; $this->setValues = array (); $this->setType = array (); $this->setForeignObj = array (); + if ($this->joinObject !== null) + { + foreach ($this->joinObject as $obj) + { + $obj->clearRequest (); + } + } } /* }}} */ @@ -2606,6 +2614,11 @@ class dblayeroo /* {{{ */ { $backtrace = debug_backtrace (); + if ($this->debug) + { + require_once ("domframework/backtrace.php"); + \backtrace::show (debug_backtrace ()); + } if (! array_key_exists (1, $backtrace)) unset ($backtrace); else