From 0cb0583fa32038316dc1f56abb0fdd1933e84f00 Mon Sep 17 00:00:00 2001 From: knut <> Date: Thu, 7 Aug 2008 01:14:11 +0000 Subject: fixed #855 --- HISTORY | 1 + framework/Data/ActiveRecord/TActiveRecord.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/HISTORY b/HISTORY index a42cbf03..acb8416f 100644 --- a/HISTORY +++ b/HISTORY @@ -7,6 +7,7 @@ BUG: Ticket#847 - getBaseUrl sometimes fails (Christophe) BUG: Ticket#843 - TDataList alternatinItem issue after changes in rev 2227 (Christophe) BUG: Ticket#849 - TDatePicker selecting current date problem (Christophe) BUG: Ticket#851 - TPropertyAccess doesn't get properties right if an object has a __call() method (Simon Lehmann, Knut) +BUG: Ticket#855 - TActiveRecord: Make db-connection serializable in __sleep() function (Knut) BUG: Ticket#859 - errorhandler error (stever) BUG: Ticket#860 - Prado::localize() bug (japplegame) BUG: Ticket#870 - Callback with redirect breaks lifecycle of page (stever) 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. -- cgit v1.2.3