1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-11 00:54:49 +02:00

Various system fixes, improvements and code flexibility (base models, user model, sql handler, user signup/handling)

This commit is contained in:
secretr
2012-02-07 16:37:44 +00:00
parent 3f4b7c7f20
commit 3bc59210af
11 changed files with 124 additions and 43 deletions

View File

@@ -425,7 +425,7 @@ if ($dataToSave && !$promptPassword)
//print_a($changedEUFData);
// ***** Next line creates a record which presumably should be there anyway, so could generate an error
$sql->db_Select_gen("INSERT INTO #user_extended (user_extended_id, user_hidden_fields) values ('".intval($inp)."', '')");
if (!$sql->db_Update('user_extended', $changedEUFData))
if (false === $sql->db_Update('user_extended', $changedEUFData))
{
$message .= '<br />Error updating EUF';
}