Skip to content

Commit

Permalink
Fixing code style
Browse files Browse the repository at this point in the history
  • Loading branch information
artur-stepien committed May 15, 2018
1 parent 8e2bc08 commit 990dfef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/com_contact/models/contact.php
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,8 @@ protected function loadFormData()
}

// Add contact id to contact form data, so fields plugin can work propertly
if(empty($data['catid'])) {
if (empty($data['catid']))
{
$data['catid'] = $this->getItem()->catid;
}

Expand Down

0 comments on commit 990dfef

Please sign in to comment.