1
0
mirror of synced 2025-01-18 06:21:40 +03:00

Fix ticket #620, PATCH provided by baron314159, thanks

This commit is contained in:
jackbravo 2007-11-30 22:46:06 +00:00
parent fcd427d3d7
commit deabfcbb54

View File

@ -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;
}