diff --git a/www/verify.php b/www/verify.php index b923c29..c9088f5 100644 --- a/www/verify.php +++ b/www/verify.php @@ -18,13 +18,13 @@ 0) { $row = mysql_fetch_assoc($res); - $row[attempts]++; - if($row[attempts] >= 6) + $row['attempts']++; + if($row['attempts'] >= 6) { $query = "update `domains` set `hash`='', `attempts`='$row[attempts]', `deleted`=NOW() where `id`='$domainid'"; showheader(_("Error!"), _("Error!")); @@ -142,4 +141,11 @@ showfooter(); exit; } + else + { + showheader(_("Error!"), _("Error!")); + echo _("Parameters are missing. Please try the complete URL."); + showfooter(); + exit; + } ?>