Commit 1cc24ebc authored by zYne's avatar zYne

--no commit message

--no commit message
parent 5f1c8d10
......@@ -44,7 +44,7 @@ class Doctrine_Statement extends Doctrine_Access {
* @return Doctrine_Collection
*/
private function getCollection($name) {
$table = $this->session->getTable($name);
$table = $this->connection->getTable($name);
switch($this->fetchModes[$name]):
case Doctrine::FETCH_BATCH:
$coll = new Doctrine_Collection_Batch($table);
......@@ -85,7 +85,7 @@ class Doctrine_Statement extends Doctrine_Access {
$keys = array_keys($this->tables);
$name = $this->tables[$keys[0]]->getComponentName();
$stmt = $this->session->execute($query,$params);
$stmt = $this->connection->execute($query,$params);
while($data = $stmt->fetch(PDO::FETCH_ASSOC)):
foreach($data as $key => $value):
......@@ -107,7 +107,7 @@ class Doctrine_Statement extends Doctrine_Access {
$keys = array_keys($this->tables);
$root = $keys[0];
$stmt = $this->session->execute($query,$params);
$stmt = $this->connection->execute($query,$params);
$previd = array();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment