summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenneth Brockert <kbrockertii@gmail.com>2016-10-24 01:03:06 -0400
committerKenneth Brockert <kbrockertii@gmail.com>2016-10-24 01:03:06 -0400
commit997512ae730650c0203b539fcb221147dbc59f7c (patch)
tree853848f0368289b849cd6b4665a86816d61b4240
parentddf210fb9253c7ef84424ad4068c659d6187ff3c (diff)
downloadPHPAuth-997512ae730650c0203b539fcb221147dbc59f7c.zip
PHPAuth-997512ae730650c0203b539fcb221147dbc59f7c.tar.gz
PHPAuth-997512ae730650c0203b539fcb221147dbc59f7c.tar.bz2
fix more bugs caused by 45d0e4a
-rw-r--r--Auth.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Auth.php b/Auth.php
index 0914622..b485c9d 100644
--- a/Auth.php
+++ b/Auth.php
@@ -300,7 +300,7 @@ class Auth
return $return;
}
- $addRequest = $this->addRequest($query->fetch(\PDO::FETCH_ASSOC)['id'], $email, "reset", $sendmail);
+ $addRequest = $this->addRequest($row['id'], $email, "reset", $sendmail);
if ($addRequest['error'] == 1) {
$this->addAttempt();