From 0dce832bc6111fb97621ffb2ae0c5501482f903c Mon Sep 17 00:00:00 2001 From: ctrlaltca <> Date: Mon, 6 Aug 2012 16:23:44 +0000 Subject: patch for #420 --- framework/Data/ActiveRecord/TActiveRecordManager.php | 1 + 1 file changed, 1 insertion(+) (limited to 'framework') diff --git a/framework/Data/ActiveRecord/TActiveRecordManager.php b/framework/Data/ActiveRecord/TActiveRecordManager.php index 6cca76e7..f9de3ad6 100644 --- a/framework/Data/ActiveRecord/TActiveRecordManager.php +++ b/framework/Data/ActiveRecord/TActiveRecordManager.php @@ -129,6 +129,7 @@ class TActiveRecordManager extends TComponent */ public function setGatewayClass($value) { + $this->_gateway = null; $this->_gatewayClass = (string)$value; } -- cgit v1.2.3