From 19341f4c546c95469776273dce069285675c85ad Mon Sep 17 00:00:00 2001 From: Hugues Peccatte Date: Fri, 26 Jul 2019 23:37:19 +0200 Subject: [PATCH] Fix #15397 NULL values not shown in INT columns Don't cast as string is value is null: this prevents to manage "null" values. Signed-off-by: Hugues Peccatte --- libraries/classes/Display/Results.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/classes/Display/Results.php b/libraries/classes/Display/Results.php index 6d395442b2..31683e742e 100644 --- a/libraries/classes/Display/Results.php +++ b/libraries/classes/Display/Results.php @@ -2943,7 +2943,7 @@ class Results $display_params['data'][$row_no][$i] = $this->_getDataCellForNumericColumns( - (string) $row[$i], + null === $row[$i] ? null : (string) $row[$i], $class, $condition_field, $meta,