mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-08-11 23:02:35 +00:00
Resolving yet more problems with booleans in postgres
This commit is contained in:
parent
1acb619e75
commit
2ec9a49f17
1 changed files with 2 additions and 2 deletions
|
@ -735,7 +735,7 @@ class DboPostgres extends DboSource {
|
|||
if ($quote) {
|
||||
$result = ($result) ? 'TRUE' : 'FALSE';
|
||||
}
|
||||
return $result;
|
||||
return (int) $result;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue