equal
deleted
inserted
replaced
1297 if ( !$key ) |
1297 if ( !$key ) |
1298 { |
1298 { |
1299 die_friendly($lang->get('userfuncs_activate_err_badlink_title'), '<p>' . $lang->get('userfuncs_activate_err_badlink_body') . '</p>'); |
1299 die_friendly($lang->get('userfuncs_activate_err_badlink_title'), '<p>' . $lang->get('userfuncs_activate_err_badlink_body') . '</p>'); |
1300 } |
1300 } |
1301 $s = $session->activate_account(str_replace('_', ' ', $user), $key); |
1301 $s = $session->activate_account(str_replace('_', ' ', $user), $key); |
1302 if ( $s > 0 ) |
1302 if ( $s ) |
1303 { |
1303 { |
1304 die_friendly($lang->get('userfuncs_activate_success_title'), '<p>' . $lang->get('userfuncs_activate_success_body') . '</p>'); |
1304 die_friendly($lang->get('userfuncs_activate_success_title'), '<p>' . $lang->get('userfuncs_activate_success_body') . '</p>'); |
1305 } |
1305 } |
1306 else |
1306 else |
1307 { |
1307 { |