Fixing some boolean issues in DboPostgres

This commit is contained in:
José Lorenzo Rodríguez 2010-10-21 20:34:11 -04:30
parent 88289f071e
commit c7763b316e
3 changed files with 16 additions and 11 deletions

View file

@ -215,7 +215,7 @@ class DboSource extends DataSource {
return $this->_connection->quote($data, PDO::PARAM_LOB);
break;
case 'boolean':
return $this->boolean($data);
return $this->_connection->quote($this->boolean($data), PDO::PARAM_BOOL);
break;
case 'string':
case 'text':