Skip to content

Commit

Permalink
spotted little mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
dbursem committed Feb 6, 2015
1 parent a7a2f25 commit 43e40c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
$stmt = $dbh->prepare($q);
$stmt->execute($params);

if ($stmt->columnCount() == 0)
if ($stmt->rowCount() == 0)
{
$latmax=60;
$latmin=35;
Expand Down

0 comments on commit 43e40c5

Please sign in to comment.