1
0
mirror of synced 2025-03-22 16:03:49 +03:00

Added missing attribute check to Doctrine_Configurable. Fixes #545.

This commit is contained in:
romanb 2007-10-30 16:08:35 +00:00
parent dfd15a6068
commit dc4be22bfe

View File

@ -129,6 +129,7 @@ abstract class Doctrine_Configurable extends Doctrine_Locator_Injectable
break; break;
case Doctrine::ATTR_SEQNAME_FORMAT: case Doctrine::ATTR_SEQNAME_FORMAT:
case Doctrine::ATTR_IDXNAME_FORMAT: case Doctrine::ATTR_IDXNAME_FORMAT:
case Doctrine::ATTR_TBLNAME_FORMAT:
if ($this instanceof Doctrine_Table) { if ($this instanceof Doctrine_Table) {
throw new Doctrine_Exception('Sequence / index name format attributes cannot be set' throw new Doctrine_Exception('Sequence / index name format attributes cannot be set'
. 'at table level (only at connection or global level).'); . 'at table level (only at connection or global level).');