* fixing boolean values, casting them to bool when reading from the database
This commit is contained in:
parent
bbc35e3ff4
commit
f69ba1bf5c
@ -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];
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user