mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-06 11:32:40 +00:00
Fixing some boolean issues in DboPostgres
This commit is contained in:
parent
88289f071e
commit
c7763b316e
3 changed files with 16 additions and 11 deletions
|
@ -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':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue