Commit deabfcbb authored by jackbravo's avatar jackbravo

Fix ticket #620, PATCH provided by baron314159, thanks

parent fcd427d3
......@@ -996,7 +996,7 @@ class Doctrine_Table extends Doctrine_Configurable implements Countable
$this->_columns[$name] = $options;
}
if (isset($options['primary'])) {
if (!empty($options['primary'])) {
if (isset($this->_identifier)) {
$this->_identifier = (array) $this->_identifier;
}
......
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