1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-06 22:57:14 +02:00

Corrected 'Display name' to use v2 form handler.

This commit is contained in:
Cameron
2014-01-23 09:17:57 -08:00
parent bb76398ac1
commit 7f38b232cb

View File

@@ -139,7 +139,8 @@ class signup_shortcodes extends e_shortcode
if (check_class($pref['displayname_class']))
{
$dis_name_len = varset($pref['displayname_maxlength'],15);
return $rs->form_text('username', 30, ($_POST['username'] ? $_POST['username'] : $username), $dis_name_len);
return e107::getForm()->text('username', ($_POST['username'] ? $_POST['username'] : $username), $dis_name_len);
// return $rs->form_text('username', 30, , $dis_name_len);
}
}