1
0
mirror of synced 2025-01-17 22:11:41 +03:00

Small fix in Doctrine_Cache_Query_Sqlite.php

This commit is contained in:
romanb 2006-09-21 10:04:50 +00:00
parent eb3300270f
commit 0a46071206

View File

@ -18,7 +18,7 @@ class Doctrine_Cache_Query_Sqlite implements Countable {
* @param Doctrine_Connection|null $connection
*/
public function __construct($connection = null) {
if( ! ($connection instanceof Doctrine_Session))
if( ! ($connection instanceof Doctrine_Connection))
$connection = Doctrine_Manager::getInstance()->getCurrentConnection();
$this->session = $connection;