plugins/SpecialUserFuncs.php
changeset 1206 50f6c144ec68
parent 1158 e733f984c990
child 1222 d1ded7b4c775
equal deleted inserted replaced
1205:c922ef08167a 1206:50f6c144ec68
  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   {