Zeile 849 | Zeile 849 |
---|
elseif(!empty($referrername)) { $ref = get_user_by_username($referrername);
|
elseif(!empty($referrername)) { $ref = get_user_by_username($referrername);
|
if(!$ref['uid'])
| if(!$ref)
|
{ $errors[] = $lang->error_badreferrer; }
| { $errors[] = $lang->error_badreferrer; }
|
Zeile 1277 | Zeile 1277 |
---|
{ $query = $db->simple_select("awaitingactivation", "*", "uid='".$user['uid']."' AND (type='r' OR type='e' OR type='b')"); $activation = $db->fetch_array($query);
|
{ $query = $db->simple_select("awaitingactivation", "*", "uid='".$user['uid']."' AND (type='r' OR type='e' OR type='b')"); $activation = $db->fetch_array($query);
|
if(!$activation['uid'])
| if(!$activation)
|
{ error($lang->error_alreadyactivated); }
| { error($lang->error_alreadyactivated); }
|
Zeile 1456 | Zeile 1456 |
---|
$query = $db->simple_select("awaitingactivation", "*", "uid='".$mybb->user['uid']."' AND type='b'"); $activation = $db->fetch_array($query);
|
$query = $db->simple_select("awaitingactivation", "*", "uid='".$mybb->user['uid']."' AND type='b'"); $activation = $db->fetch_array($query);
|
if($activation['validated'] == 1)
| if($activation && $activation['validated'] == 1)
|
{ error($lang->error_activated_by_admin); }
| { error($lang->error_activated_by_admin); }
|
Zeile 1716 | Zeile 1716 |
---|
}
$code = htmlspecialchars_uni($mybb->get_input('code'));
|
}
$code = htmlspecialchars_uni($mybb->get_input('code'));
|
if(!isset($mybb->input['username'])) { $input_username = ''; } $input_username = htmlspecialchars_uni($mybb->input['username']);
| $input_username = htmlspecialchars_uni($mybb->get_input('username'));
|
eval("\$activate = \"".$templates->get("member_resetpassword")."\";"); output_page($activate);
| eval("\$activate = \"".$templates->get("member_resetpassword")."\";"); output_page($activate);
|
Zeile 2908 | Zeile 2904 |
---|
$last_email = $db->fetch_array($query);
// Users last email was within the flood time, show the error
|
$last_email = $db->fetch_array($query);
// Users last email was within the flood time, show the error
|
if($last_email['mid'])
| if(isset($last_email['mid']))
|
{ $remaining_time = ($mybb->usergroup['emailfloodtime']*60)-(TIME_NOW-$last_email['dateline']);
| { $remaining_time = ($mybb->usergroup['emailfloodtime']*60)-(TIME_NOW-$last_email['dateline']);
|
Zeile 3081 | Zeile 3077 |
---|
$last_email = $db->fetch_array($query);
// Users last email was within the flood time, show the error
|
$last_email = $db->fetch_array($query);
// Users last email was within the flood time, show the error
|
if($last_email['mid'])
| if(isset($last_email['mid']))
|
{ $remaining_time = ($mybb->usergroup['emailfloodtime']*60)-(TIME_NOW-$last_email['dateline']);
| { $remaining_time = ($mybb->usergroup['emailfloodtime']*60)-(TIME_NOW-$last_email['dateline']);
|