diff options
| -rw-r--r-- | HISTORY | 1 | ||||
| -rw-r--r-- | framework/Data/ActiveRecord/TActiveRecord.php | 2 | 
2 files changed, 2 insertions, 1 deletions
| @@ -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. | 
