small bugfix
This commit is contained in:
parent
6f7736ade8
commit
d3e4b2c912
@ -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'] = ' ';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user