pookey: sorry, I do not understand this fix, but i needed it
This commit is contained in:
parent
cac04a0ac0
commit
e06f0be65d
@ -963,6 +963,10 @@ class Doctrine_Table extends Doctrine_Configurable implements Countable {
|
||||
* @return mixed
|
||||
*/
|
||||
final public function enumValue($field, $index) {
|
||||
if ($index instanceof Doctrine_Null)
|
||||
{
|
||||
return $index;
|
||||
}
|
||||
return isset($this->options['enumMap'][$field][$index]) ? $this->options['enumMap'][$field][$index] : $index;
|
||||
}
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user