Commit dc4be22b authored by romanb's avatar romanb

Added missing attribute check to Doctrine_Configurable. Fixes #545.

parent dfd15a60
...@@ -129,6 +129,7 @@ abstract class Doctrine_Configurable extends Doctrine_Locator_Injectable ...@@ -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).');
......
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