Fix two possible PHP errors with int data

Actually, one poped out on tests after #16935
Ref: #14936

Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
William Desportes 2021-06-22 00:07:48 +02:00
parent 6549c11361
commit 8e148afc9e
No known key found for this signature in database
GPG Key ID: 90A0EF1B8251A889

View File

@ -2977,7 +2977,7 @@ class Results
$display_params['data'][$row_no][$i]
= $this->getDataCellForGeometryColumns(
$row[$i],
$row[$i] === null ? null : (string) $row[$i],
$class,
$meta,
$map,
@ -2993,7 +2993,7 @@ class Results
$display_params['data'][$row_no][$i]
= $this->getDataCellForNonNumericColumns(
$row[$i],
$row[$i] === null ? null : (string) $row[$i],
$class,
$meta,
$map,