Skip to content

Commit

Permalink
use getter
Browse files Browse the repository at this point in the history
  • Loading branch information
zero-24 committed Jun 24, 2017
1 parent c9419cf commit ba91e12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/joomla/edit/params.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@
$tabName = $displayData->get('tab_name') ?: 'myTab';

// These are required to preserve data on save when fields are not displayed.
$hiddenFieldsets = $displayData->hiddenFieldsets ?: array();
$hiddenFieldsets = $displayData->get('hiddenFieldsets') ?: array();

// These are required to configure showing and hiding fields in the editor.
$configFieldsets = $displayData->configFieldsets ?: array();
$configFieldsets = $displayData->get('configFieldsets') ?: array();

// Handle the hidden fieldsets when show_options is set false
if (!$displayData->get('show_options', 1))
Expand Down

0 comments on commit ba91e12

Please sign in to comment.