mirror of
https://github.com/dg/dibi.git
synced 2025-07-31 19:30:30 +02:00
Translator: fixed numeric column formatting
This commit is contained in:
committed by
David Grudl
parent
d342d8d78f
commit
c04d2197e3
@@ -219,7 +219,7 @@ final class Translator
|
||||
|
||||
case 'a': // key=val, key=val, ...
|
||||
foreach ($value as $k => $v) {
|
||||
$pair = explode('%', $k, 2); // split into identifier & modifier
|
||||
$pair = explode('%', (string) $k, 2); // split into identifier & modifier
|
||||
$vx[] = $this->identifiers->{$pair[0]} . '='
|
||||
. $this->formatValue($v, $pair[1] ?? (is_array($v) ? 'ex!' : null));
|
||||
}
|
||||
|
Reference in New Issue
Block a user