1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-05 13:47:33 +02:00

Result: does not drop the value if detection fails

This commit is contained in:
David Grudl
2020-03-26 03:06:22 +01:00
parent 803c9d539c
commit db16b9e87a

View File

@@ -498,6 +498,9 @@ class Result implements IDataSource
} elseif ($type === Type::JSON) { } elseif ($type === Type::JSON) {
$row[$key] = json_decode($value, true); $row[$key] = json_decode($value, true);
} else {
$row[$key] = $value;
} }
} }
} }