From abe35ff7bb2b7bdca24ac39e57be7a0b3ed4a330 Mon Sep 17 00:00:00 2001 From: xue <> Date: Wed, 6 Feb 2008 17:24:37 +0000 Subject: Fixed two typos. --- framework/Data/ActiveRecord/TActiveRecordConfig.php | 2 +- framework/Data/SqlMap/TSqlMapConfig.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'framework') diff --git a/framework/Data/ActiveRecord/TActiveRecordConfig.php b/framework/Data/ActiveRecord/TActiveRecordConfig.php index 3f16287d..4a2184ac 100644 --- a/framework/Data/ActiveRecord/TActiveRecordConfig.php +++ b/framework/Data/ActiveRecord/TActiveRecordConfig.php @@ -93,7 +93,7 @@ class TActiveRecordConfig extends TDataSourceConfig */ public function setEnableCache($value) { - $this->_enableCache = TPropertyValue::ensureBoolean($value, false); + $this->_enableCache = TPropertyValue::ensureBoolean($value); } /** diff --git a/framework/Data/SqlMap/TSqlMapConfig.php b/framework/Data/SqlMap/TSqlMapConfig.php index ea5f5c38..5ee4de54 100644 --- a/framework/Data/SqlMap/TSqlMapConfig.php +++ b/framework/Data/SqlMap/TSqlMapConfig.php @@ -117,7 +117,7 @@ class TSqlMapConfig extends TDataSourceConfig */ public function setEnableCache($value) { - $this->_enableCache = TPropertyValue::ensureBoolean($value, false); + $this->_enableCache = TPropertyValue::ensureBoolean($value); } /** -- cgit v1.2.3