change error message language string from 'alphanumerical' to 'invalidusername' - MDL-16919

This commit is contained in:
Rossiani Wijaya 2010-01-13 07:24:41 +00:00
parent 07ed083e4e
commit 50256f9cd1

View File

@ -107,7 +107,7 @@ if (empty($CFG->usesid) and $testcookies and (get_moodle_cookie() == '')) { /
if (is_enabled_auth('none') && empty($CFG->extendedusernamechars)) {
$string = clean_param($frm->username, PARAM_USERNAME);
if (strcmp($frm->username, $string)) {
$errormsg = get_string('username').': '.get_string("alphanumerical");
$errormsg = get_string('username').': '.get_string("invalidusername");
$errorcode = 2;
$user = null;