Commit 216cdde6 authored by zYne's avatar zYne

--no commit message

--no commit message
parent a3bc368b
......@@ -373,8 +373,11 @@ class Doctrine_DataDict_Mysql extends Doctrine_DataDict
$length = ((int) $length == 0) ? null : (int) $length;
return array('type' => $type, 'length' => $length, 'unsigned' => $unsigned, 'fixed' => $fixed, 'values' => $values);
if ($values === null) {
return array('type' => $type, 'length' => $length, 'unsigned' => $unsigned, 'fixed' => $fixed);
} else {
return array('type' => $type, 'length' => $length, 'unsigned' => $unsigned, 'fixed' => $fixed, 'values' => $values);
}
}
/**
* Obtain DBMS specific SQL code portion needed to set the CHARACTER SET
......
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