mirror of
https://github.com/dg/dibi.git
synced 2025-08-08 15:16:58 +02:00
Result: normalize converts FALSE
This commit is contained in:
@@ -488,7 +488,7 @@ class DibiResult extends DibiObject implements IDataSource
|
||||
continue;
|
||||
}
|
||||
$value = $row[$key];
|
||||
if ($value === FALSE || $type === dibi::TEXT) {
|
||||
if ($type === dibi::TEXT) {
|
||||
|
||||
} elseif ($type === dibi::INTEGER) {
|
||||
$row[$key] = is_float($tmp = $value * 1) ? $value : $tmp;
|
||||
|
Reference in New Issue
Block a user