Commit d3e4b2c9 authored by nightfreak's avatar nightfreak

small bugfix

parent 6f7736ad
......@@ -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'] = ' ';
}
......
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