Commit 2bcd41e2 authored by adamthehutt's avatar adamthehutt

Fix for ticket #650

Ticket: 650
parent 19c08a2f
......@@ -84,7 +84,7 @@ class Doctrine_Validator extends Doctrine_Locator_Injectable
$value = $value->getIncremented();
}
$column = $columns[$key];
$column = $columns[$record->getTable()->getColumnName($key)];
if ($column['type'] == 'enum') {
$value = $record->getTable()->enumIndex($key, $value);
......
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