Skip to content

Commit

Permalink
Removed blank space and used JFilterInput instead
Browse files Browse the repository at this point in the history
  • Loading branch information
aDaneInSpain committed Oct 19, 2014
1 parent 7d9a63f commit 860066b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions administrator/components/com_users/models/level.php
Expand Up @@ -213,8 +213,8 @@ public function save($data)
{
$data['rules'] = array();
}
$data['title'] = trim($data['title']);

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

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

0 comments on commit 860066b

Please sign in to comment.