Skip to content

Commit

Permalink
Merge pull request #4776 from aDaneInSpain/patch-1
Browse files Browse the repository at this point in the history
This fixes #4763 where adding space created duplicate users
  • Loading branch information
infograf768 committed Oct 20, 2014
2 parents 580d785 + 860066b commit fb96409
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions administrator/components/com_users/models/level.php
Expand Up @@ -214,6 +214,8 @@ public function save($data)
$data['rules'] = array();
}

$data['title'] = JFilterInput::getInstance()->clean($data['title'], 'TRIM');

return parent::save($data);
}
}

0 comments on commit fb96409

Please sign in to comment.