Fix ticket #620, PATCH provided by baron314159, thanks
This commit is contained in:
parent
fcd427d3d7
commit
deabfcbb54
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user