Skip to content

Commit

Permalink
PHP 5.3 compat issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
cheesegrits committed Feb 23, 2018
1 parent fc471f9 commit 2daee4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion administrator/components/com_fabrik/models/element.php
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ public function validate($form, $data, $group = null)
$nameChanged = $data['name'] !== $elementModel->getElement()->name;
$elementModel->getElement()->bind($data);
$listModel = $elementModel->getListModel();
$isView = !empty($listModel->isView());
$isView = (bool)$listModel->isView();

if ($data['id'] == '')
{
Expand Down

0 comments on commit 2daee4d

Please sign in to comment.