Browse Source

Db::closeAll fix

walkor 11 years ago
parent
commit
34b589d692
1 changed files with 1 additions and 1 deletions
  1. 1 1
      applications/Demo/Lib/Db.php

+ 1 - 1
applications/Demo/Lib/Db.php

@@ -54,7 +54,7 @@ class Db
         foreach(self::$instance as $connection)
         {
             $connection->closeConnection();
-            self::$instance = array();
         }
+        self::$instance = array();
     }
 }