Skip to content

Commit 15c2ee2

Browse files
committed
Merge branch 'master' of github.com:DataTables/Editor-PHP
2 parents 9d0c797 + c4632c2 commit 15c2ee2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Editor/Format.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,10 @@ public static function fromDecimalChar($char = ',')
258258
public static function toDecimalChar($char = ',')
259259
{
260260
return static function ($val, $data) use ($char) {
261+
if ($val === null) {
262+
return null;
263+
}
264+
261265
return str_replace('.', $char, $val);
262266
};
263267
}

0 commit comments

Comments
 (0)