boolean type fix
This commit is contained in:
parent
40b7b14fb7
commit
d81a843e73
1 changed files with 1 additions and 1 deletions
|
@ -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]);
|
||||
|
|
Loading…
Add table
Reference in a new issue