partial revert of r55447: breaks url wpName prefilling
[lhc/web/wiklou.git] / includes / templates / Userlogin.php
index ddf4bda..96713ff 100644 (file)
@@ -156,7 +156,7 @@ class UsercreateTemplate extends QuickTemplate {
                        <td class="mw-label"><label for='wpName2'><?php $this->msg('yourname') ?></label></td>
                        <td class="mw-input">
                                <?php
-                       echo Html::input( 'wpName', null, 'text', array(
+                       echo Html::input( 'wpName', $this->data['name'], 'text', array(
                                'class' => 'loginText',
                                'id' => 'wpName2',
                                'tabindex' => '1',