mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
Fixing bug in boolean conversion for postgres
This commit is contained in:
parent
49ed8ede8e
commit
a6b6720717
1 changed files with 1 additions and 1 deletions
|
@ -741,7 +741,7 @@ class DboPostgres extends DboSource {
|
|||
}
|
||||
|
||||
if ($quote) {
|
||||
$result = ($result) ? 'TRUE' : 'FALSE';
|
||||
return ($result) ? 'TRUE' : 'FALSE';
|
||||
}
|
||||
return (int) $result;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue