From 560b8bae29c854ef0b6d731b9cc78d0861c61bb6 Mon Sep 17 00:00:00 2001 From: Adrian Schmutzler Date: Fri, 9 Nov 2018 14:20:20 +0100 Subject: [PATCH] Fix typo (parsing error) Signed-off-by: Adrian Schmutzler --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index 5a81705..113b9b5 100644 --- a/index.php +++ b/index.php @@ -55,7 +55,7 @@ // Write polygon coordinates into array while($row = $rc->fetch(PDO::FETCH_ASSOC)) { - if(!isset($polystore[$row['polyid'])) { + if(!isset($polystore[$row['polyid']])) { debug('Database inconsistent: No polyhood defined for ID '.$row['polyid']); continue; // Skip those orphaned vertex entries }