Skip to content

Commit

Permalink
Merge pull request techjoomla#187 from ankush-maherwal/release-1.4.3
Browse files Browse the repository at this point in the history
Bug techjoomla#205 fix: For list type of field, value is shown on list and deta…
  • Loading branch information
ankush-maherwal authored Oct 18, 2019
2 parents 6fd1456 + 5f81533 commit c2d631f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion site/helpers/tjfields.php
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,10 @@ public function saveFieldsValue($data)
}
elseif (is_array($fieldValue))
{
$fieldValue = explode(",", $fieldValue[0]);
if (strpos(',', $fieldValue[0]))
{
$fieldValue = explode(",", $fieldValue[0]);
}

$this->saveMultiValuedFieldData($fieldValue, $field->client, $data['content_id'], $field->id, $fieldStoredValues);
}
Expand Down

0 comments on commit c2d631f

Please sign in to comment.