1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 12:48:24 +01:00

Merge pull request #3994 from Jimmi08/patch-4

Fixes #3993 outdated db methods
This commit is contained in:
Cameron 2019-12-28 12:03:38 -08:00 committed by GitHub
commit d7451bdd3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -153,9 +153,9 @@ class alt_login
{
$qry = "SELECT * FROM `#user` WHERE ".$ulogin->getLookupQuery($username, FALSE);
}
if($aa_sql -> db_Select_gen($qry))
if($aa_sql->gen($qry))
{ // Existing user - get current data, see if any changes
$row = $aa_sql->db_Fetch();
$row = $aa_sql->fetch();
foreach ($db_vals as $k => $v)
{
if ($row[$k] == $v) unset($db_vals[$k]);