Fix PHP type error on GIS nullable data
Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
parent
e4a985ca0f
commit
df96ee24b3
@ -719,6 +719,9 @@ class GisVisualization
|
||||
|
||||
// Figure out the data type
|
||||
$ref_data = $row[$this->settings['spatialColumn']];
|
||||
if (! is_string($ref_data)) {
|
||||
continue;
|
||||
}
|
||||
$type_pos = mb_strpos($ref_data, '(');
|
||||
if ($type_pos === false) {
|
||||
continue;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user