Skip to content

Commit

Permalink
coding style compliance
Browse files Browse the repository at this point in the history
  • Loading branch information
stutteringp0et committed Dec 8, 2017
1 parent f606fe0 commit 9a8ea20
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugins/system/fields/fields.php
Expand Up @@ -91,7 +91,8 @@ public function onContentAfterSave($context, $item, $isNew, $data = array())
$value = key_exists($field->name, $fieldsData) ? $fieldsData[$field->name] : null;

// JSON encode value for complex fields
if(is_array($value)) {
if (is_array($value))
{
$value = json_encode($value);
}

Expand Down

0 comments on commit 9a8ea20

Please sign in to comment.