Commit d81a843e authored by zYne's avatar zYne

boolean type fix

parent 40b7b14f
......@@ -1073,7 +1073,7 @@ abstract class Doctrine_Record extends Doctrine_Access implements Countable, Ite
$a[$v] = gzcompress($this->_data[$v],5);
break;
case 'boolean':
$a[$v] = (int) $this->_data[$v];
$a[$v] = $this->getTable()->getConnection()->convertBooleans($this->_data[$v]);
break;
case 'enum':
$a[$v] = $this->_table->enumIndex($v,$this->_data[$v]);
......
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