Skip to content

Commit

Permalink
Merge branch 'release-1.4.4' of github.com:techjoomla/com_tjfields in…
Browse files Browse the repository at this point in the history
…to release1.4.4
  • Loading branch information
pravinTek committed Nov 20, 2019
2 parents 9d974cf + 4980a5f commit 2fe070c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion administrator/models/field.php
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ public function save($data)
if ($data['id'] == 0)
{
// Escape apostraphe
$data_name = trim(preg_replace('/[^A-Za-z0-9\-\']/', '', $data['name']));
$data_name = trim(preg_replace('/[^a-zA-Z0-9]/', '', $data['name']));
$client = explode('.', $data['client']);
$client = $client[0];
$data_unique_name = $client . '_' . $data['client_type'] . '_' . $data_name;
Expand Down

0 comments on commit 2fe070c

Please sign in to comment.