mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 17:16:18 +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) {
|
if ($quote) {
|
||||||
$result = ($result) ? 'TRUE' : 'FALSE';
|
return ($result) ? 'TRUE' : 'FALSE';
|
||||||
}
|
}
|
||||||
return (int) $result;
|
return (int) $result;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue