fix to assignDefaultValues. should fix #468
This commit is contained in:
parent
a368726f0a
commit
198b34c0b4
1 changed files with 2 additions and 2 deletions
|
@ -408,9 +408,9 @@ abstract class Doctrine_Record extends Doctrine_Record_Abstract implements Count
|
|||
$default = $this->_table->getDefaultValueOf($column);
|
||||
|
||||
if ($default === null) {
|
||||
$default = self::$_null;
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
if ($value === self::$_null || $overwrite) {
|
||||
$this->_data[$column] = $default;
|
||||
$this->_modified[] = $column;
|
||||
|
|
Loading…
Add table
Reference in a new issue