Skip to content

Commit

Permalink
Fix form data lost when user registration failed (#19145)
Browse files Browse the repository at this point in the history
* Fix form data lost when user registration failed

* B/C fix
  • Loading branch information
joomdonation authored and Michael Babker committed Jan 16, 2018
1 parent 2b9ed4f commit 0fc19ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/com_users/views/registration/view.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ class UsersViewRegistration extends JViewLegacy
public function display($tpl = null)
{
// Get the view data.
$this->data = $this->get('Data');
$this->form = $this->get('Form');
$this->data = $this->get('Data');
$this->state = $this->get('State');
$this->params = $this->state->get('params');

Expand Down

0 comments on commit 0fc19ac

Please sign in to comment.