diff options
author | xue <> | 2007-07-17 17:56:10 +0000 |
---|---|---|
committer | xue <> | 2007-07-17 17:56:10 +0000 |
commit | 42f0baae8fb39be2dd7a4c5c377f23c3f56fc865 (patch) | |
tree | 27bd7fab46d4ed09aba727632863a0812146d2ae /framework/Data/ActiveRecord | |
parent | a5ba85214c1d062f3726d3e2fa295539c6ccc33c (diff) |
Fixed #666.
Diffstat (limited to 'framework/Data/ActiveRecord')
-rw-r--r-- | framework/Data/ActiveRecord/TActiveRecord.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Data/ActiveRecord/TActiveRecord.php b/framework/Data/ActiveRecord/TActiveRecord.php index b6b19d13..b7ccaa50 100644 --- a/framework/Data/ActiveRecord/TActiveRecord.php +++ b/framework/Data/ActiveRecord/TActiveRecord.php @@ -304,7 +304,7 @@ abstract class TActiveRecord extends TComponent * @param mixed parameter values. * @return int number of records deleted. */ - public function deleteAll($criteria, $parameters=array()) + public function deleteAll($criteria=null, $parameters=array()) { $args = func_num_args() > 1 ? array_slice(func_get_args(),1) : null; $criteria = $this->getCriteria($criteria,$parameters, $args); |