Commit 1cc0c764 authored by doctrine's avatar doctrine

--no commit message

--no commit message
parent c435286e
...@@ -415,6 +415,8 @@ abstract class Doctrine_Session extends Doctrine_Configurable implements Countab ...@@ -415,6 +415,8 @@ abstract class Doctrine_Session extends Doctrine_Configurable implements Countab
if(empty($this->insert)) if(empty($this->insert))
return false; return false;
foreach($this->insert as $name => $inserts) { foreach($this->insert as $name => $inserts) {
if( ! isset($inserts[0])) if( ! isset($inserts[0]))
continue; continue;
......
...@@ -75,8 +75,6 @@ class Doctrine_Session_Mysql extends Doctrine_Session_Common { ...@@ -75,8 +75,6 @@ class Doctrine_Session_Mysql extends Doctrine_Session_Common {
if(empty($this->insert)) if(empty($this->insert))
return false; return false;
$values = $this->getMaximumValues(array_keys($this->insert));
foreach($this->insert as $name => $inserts) { foreach($this->insert as $name => $inserts) {
if( ! isset($inserts[0])) if( ! isset($inserts[0]))
continue; continue;
...@@ -156,6 +154,7 @@ class Doctrine_Session_Mysql extends Doctrine_Session_Common { ...@@ -156,6 +154,7 @@ class Doctrine_Session_Mysql extends Doctrine_Session_Common {
} }
} }
} }
$this->insert = array(); $this->insert = array();
return true; return true;
} }
......
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