plugins/SpecialUserFuncs.php
changeset 1222 d1ded7b4c775
parent 1206 50f6c144ec68
child 1227 bdac73ed481e
equal deleted inserted replaced
1221:d8c6b8d49604 1222:d1ded7b4c775
  1291   $user = $paths->getParam(0);
  1291   $user = $paths->getParam(0);
  1292   if ( !$user )
  1292   if ( !$user )
  1293   {
  1293   {
  1294     die_friendly($lang->get('userfuncs_activate_err_badlink_title'), '<p>' . $lang->get('userfuncs_activate_err_badlink_body') . '</p>');
  1294     die_friendly($lang->get('userfuncs_activate_err_badlink_title'), '<p>' . $lang->get('userfuncs_activate_err_badlink_body') . '</p>');
  1295   }
  1295   }
       
  1296   $user = str_replace('_', ' ', dirtify_page_id($user));
  1296   $key = $paths->getParam(1);
  1297   $key = $paths->getParam(1);
  1297   if ( !$key )
  1298   if ( !$key )
  1298   {
  1299   {
  1299     die_friendly($lang->get('userfuncs_activate_err_badlink_title'), '<p>' . $lang->get('userfuncs_activate_err_badlink_body') . '</p>');
  1300     die_friendly($lang->get('userfuncs_activate_err_badlink_title'), '<p>' . $lang->get('userfuncs_activate_err_badlink_body') . '</p>');
  1300   }
  1301   }