From 391bdc88a112aceef3aa88e2f90257b469f36ab1 Mon Sep 17 00:00:00 2001 From: jackbravo Date: Thu, 9 Aug 2007 22:26:57 +0000 Subject: [PATCH] set isConnected to false when the connection is closed --- lib/Doctrine/Connection.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Doctrine/Connection.php b/lib/Doctrine/Connection.php index 7e7f7f13e..a5e5042b2 100644 --- a/lib/Doctrine/Connection.php +++ b/lib/Doctrine/Connection.php @@ -1016,6 +1016,7 @@ abstract class Doctrine_Connection extends Doctrine_Configurable implements Coun $this->clear(); $this->dbh = null; + $this->isConnected = false; $this->getAttribute(Doctrine::ATTR_LISTENER)->postClose($event); }