Commit 198b34c0 authored by romanb's avatar romanb

fix to assignDefaultValues. should fix #468

parent a368726f
...@@ -408,9 +408,9 @@ abstract class Doctrine_Record extends Doctrine_Record_Abstract implements Count ...@@ -408,9 +408,9 @@ abstract class Doctrine_Record extends Doctrine_Record_Abstract implements Count
$default = $this->_table->getDefaultValueOf($column); $default = $this->_table->getDefaultValueOf($column);
if ($default === null) { if ($default === null) {
$default = self::$_null; continue;
} }
if ($value === self::$_null || $overwrite) { if ($value === self::$_null || $overwrite) {
$this->_data[$column] = $default; $this->_data[$column] = $default;
$this->_modified[] = $column; $this->_modified[] = $column;
......
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