02-26-2018, 10:29 PM
Hello,
I have found that the $theNewId php varible as used in the 'during_user_creation.php' file is not the same value as in join.php but is actually 3 less. In other words, I have to add three to update the additional fields in the same users table record.
// off by -3 (minus three)
// add three to update the correct record in users table.
- Mike
I have found that the $theNewId php varible as used in the 'during_user_creation.php' file is not the same value as in join.php but is actually 3 less. In other words, I have to add three to update the additional fields in the same users table record.
Code:
dump($theNewId);
Code:
$db->update('users',$theNewId + 3,['account_id'=>Input::get('account_id')]);
- Mike