1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 20:58:30 +01:00

#3993 fix outdated db methods

This commit is contained in:
Jimako 2019-10-29 18:09:10 +01:00 committed by GitHub
parent e470f4b786
commit 485fd7b8a8
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]);
@ -293,4 +293,4 @@ class alt_login
}
}
?>
?>