cvs: pear /DB_DataObject DataObject.php

From: Date: Wed, 25 Jun 2003 09:31:59 +0000
Subject: cvs: pear /DB_DataObject DataObject.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-11164@lists.php.net to get a copy of this message
alan_k Wed Jun 25 05:31:59 2003 EDT Modified files: /pear/DB_DataObject DataObject.php Log: simplify private pruning, DO is not ready for this - needs to be part of the grouping of private query vars in a query array Index: pear/DB_DataObject/DataObject.php diff -u pear/DB_DataObject/DataObject.php:1.105 pear/DB_DataObject/DataObject.php:1.106 --- pear/DB_DataObject/DataObject.php:1.105 Wed Jun 25 04:17:36 2003 +++ pear/DB_DataObject/DataObject.php Wed Jun 25 05:31:59 2003 @@ -20,7 +20,7 @@ * @package DB_DataObject * @category DB * - * $Id: DataObject.php,v 1.105 2003/06/25 08:17:36 alan_k Exp $ + * $Id: DataObject.php,v 1.106 2003/06/25 09:31:59 alan_k Exp $ */ /** @@ -399,9 +399,9 @@ } $this->$kk = $array[$k]; } - if (isset($this->_data_select)) { + if (!empty($this->_data_select)) { foreach(array('_data_select','_join','_group_by','_order_by', '_having', '_limit','_condition') as $k) { - unset($this->$k); + $this->$k = ''; } } // set link flag

« previous php.pear.cvs (#11164) next »