summaryrefslogtreecommitdiff
path: root/framework/Data/ActiveRecord/TActiveRecord.php
diff options
context:
space:
mode:
authorxue <>2008-03-07 17:01:44 +0000
committerxue <>2008-03-07 17:01:44 +0000
commit6990083c854e74a0403f917d34d9cb68e3d953b9 (patch)
tree4dc550d3f5f38de04214c4d8d215eef7ae5837b7 /framework/Data/ActiveRecord/TActiveRecord.php
parent2ffc7580d8dbe6968e5b05347103fa9e862d958e (diff)
fixed #803.
Diffstat (limited to 'framework/Data/ActiveRecord/TActiveRecord.php')
-rw-r--r--framework/Data/ActiveRecord/TActiveRecord.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Data/ActiveRecord/TActiveRecord.php b/framework/Data/ActiveRecord/TActiveRecord.php
index ba1bcc29..64187cc6 100644
--- a/framework/Data/ActiveRecord/TActiveRecord.php
+++ b/framework/Data/ActiveRecord/TActiveRecord.php
@@ -149,7 +149,7 @@ abstract class TActiveRecord extends TComponent
* @var integer record state: 0 = new, 1 = loaded, 2 = deleted.
* @since 3.1.2
*/
- private $_recordState=0;
+ protected $_recordState=0; // use protected so that serialization is fine
/**
* This static variable defines the column mapping.