Commit f69ba1bf authored by pookey's avatar pookey

* fixing boolean values, casting them to bool when reading from the database

parent bbc35e3f
......@@ -150,6 +150,9 @@ class Doctrine_Record_Filter extends Doctrine_Object
case 'enum':
$data[$name] = $this->_record->getTable()->enumValue($name, $tmp[$name]);
break;
case 'boolean':
$data[$name] = (boolean)$tmp[$name];
break;
default:
$data[$name] = $tmp[$name];
}
......
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