mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 14:46:56 +02:00
Code cleanup and optimization
This commit is contained in:
@@ -83,7 +83,7 @@ class auth_login extends alt_auth_base
|
||||
|
||||
// Now look at their password - we always need to verify it, even if its a core E107 format.
|
||||
// Higher levels will always convert an authorised password to E107 format and save it for us.
|
||||
if (!$row = $sql->db_Fetch())
|
||||
if (!$row = $sql->fetch())
|
||||
{
|
||||
$this->makeErrorText('Error reading DB');
|
||||
return AUTH_NOCONNECT; // Debateable return code - really a DB error. But consistent with other handler
|
||||
|
Reference in New Issue
Block a user