Skip to content

Commit

Permalink
Merge pull request #283 from apghalsasi25/Bug#154268
Browse files Browse the repository at this point in the history
Bug #282: Backend>> The alias of form view of type should be va…
  • Loading branch information
ankush-maherwal authored Jan 17, 2020
2 parents 125eb23 + 635b134 commit 211fba0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/com_tjucm/administrator/models/type.php
Original file line number Diff line number Diff line change
Expand Up @@ -292,8 +292,8 @@ public function save($data)
}

// Remove white spaces from alias if any
$data['alias'] = str_replace(" ", "_", trim($data['alias']));

//$data['alias'] = str_replace(" ", "_", trim($data['alias']));
$data['alias'] =JFilterOutput::stringURLSafe($data['alias']);
if (!empty($data['id']))
{
$field_group = $this->getGroupCount($data['unique_identifier']);
Expand Down

0 comments on commit 211fba0

Please sign in to comment.