summaryrefslogtreecommitdiff
path: root/framework/Data/ActiveRecord
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Data/ActiveRecord')
-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 82d5e669..370dd69a 100644
--- a/framework/Data/ActiveRecord/TActiveRecord.php
+++ b/framework/Data/ActiveRecord/TActiveRecord.php
@@ -175,7 +175,7 @@ abstract class TActiveRecord extends TComponent
/**
* @var TDbConnection database connection object.
*/
- private $_connection;
+ protected $_connection; // use protected so that serialization is fine
/**
* Prevent __call() method creating __sleep() when serializing.