From 43e40c59035d373765bae6fccb456e0acd07c3f1 Mon Sep 17 00:00:00 2001 From: dbursem Date: Fri, 6 Feb 2015 01:12:05 +0100 Subject: [PATCH] spotted little mistake --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index 00646f8..01fbb0a 100644 --- a/index.php +++ b/index.php @@ -29,7 +29,7 @@ $stmt = $dbh->prepare($q); $stmt->execute($params); -if ($stmt->columnCount() == 0) +if ($stmt->rowCount() == 0) { $latmax=60; $latmin=35;