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:
parent
e470f4b786
commit
485fd7b8a8
@ -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
|
||||
}
|
||||
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user