mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
r93
git-svn-id: https://torrentpier2.googlecode.com/svn/trunk@93 a8ac35ab-4ca4-ca47-4c2d-a49a94f06293
This commit is contained in:
parent
11ee986643
commit
6c783fc49e
1 changed files with 3 additions and 2 deletions
|
@ -309,7 +309,8 @@ foreach ($profile_fields as $field => $can_edit)
|
|||
{
|
||||
$errors[] = $err;
|
||||
}
|
||||
$pr_data['user_active'] = '';
|
||||
$pr_data['user_active'] = 0;
|
||||
$db_data['user_active'] = 0;
|
||||
$db_data['user_email'] = $email;
|
||||
}
|
||||
}
|
||||
|
@ -794,7 +795,7 @@ if ($submit && !$errors)
|
|||
if (!$pr_data['user_active'])
|
||||
{
|
||||
$user_actkey = make_rand_str(12);
|
||||
$pr_data['user_actkey'] = $user_actkey;
|
||||
$pr_data['user_actkey'] = $user_actkey;
|
||||
$db_data['user_actkey'] = $user_actkey;
|
||||
|
||||
include(INC_DIR . 'emailer.class.php');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue