cvs: pear /DB_DataObject DataObject.php
| From: | Alan Knowles | Date: | Wed, 25 Jun 2003 06:30:13 +0000 |
| Subject: | cvs: pear /DB_DataObject DataObject.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-11159@lists.php.net to get a copy of this message | ||
alan_k Wed Jun 25 02:30:13 2003 EDT
Modified files:
/pear/DB_DataObject DataObject.php
Log:
order of having is important..
Index: pear/DB_DataObject/DataObject.php
diff -u pear/DB_DataObject/DataObject.php:1.103 pear/DB_DataObject/DataObject.php:1.104
--- pear/DB_DataObject/DataObject.php:1.103 Thu Jun 19 06:33:03 2003
+++ pear/DB_DataObject/DataObject.php Wed Jun 25 02:30:13 2003
@@ -20,7 +20,7 @@
* @package DB_DataObject
* @category DB
*
- * $Id: DataObject.php,v 1.103 2003/06/19 10:33:03 alan_k Exp $
+ * $Id: DataObject.php,v 1.104 2003/06/25 06:30:13 alan_k Exp $
*/
/**
@@ -318,9 +318,11 @@
' FROM ' . $this->__table . " " .
$this->_join .
$this->_condition . ' '.
+
$this->_group_by . ' '.
+ $this->_having . ' '.
$this->_order_by . ' '.
- $this->_having . ' '.
+
$this->_limit); // is select
////add by ming ... keep old condition .. so that find can reuse
$this->_condition = $tmpcond;