1
0
mirror of synced 2024-12-13 22:56:04 +03:00

small bugfix

This commit is contained in:
nightfreak 2007-09-03 12:08:36 +00:00
parent 6f7736ade8
commit d3e4b2c912

View File

@ -502,7 +502,7 @@ class Doctrine_Export_Mysql extends Doctrine_Export
? null : $this->valid_default_values[$field['type']];
if ($field['default'] === ''
&& ($conn->getAttribute(Doctrine::ATTR_PORTABILITY) & Doctrine::PORTABILITY_EMPTY_TO_NULL)
&& ($this->conn->getAttribute(Doctrine::ATTR_PORTABILITY) & Doctrine::PORTABILITY_EMPTY_TO_NULL)
) {
$field['default'] = ' ';
}