diff options
-rwxr-xr-x | auth.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/auth.class.php b/auth.class.php index 943fcc7..4036e6a 100755 --- a/auth.class.php +++ b/auth.class.php @@ -1213,7 +1213,7 @@ class Auth } - $query = $this->dbh->prepare("SELECT count, expiredate FROM {$this->config->table_attempts} WHERE ip = ?"); + $query = $this->dbh->prepare("SELECT id, expiredate FROM {$this->config->table_attempts} WHERE ip = ?"); $query->execute(array($ip)); while ($row = $query->fetch(\PDO::FETCH_ASSOC)) { |