Skip to content

Commit

Permalink
Fixing faceted link settings in List admin, some other places we needed
Browse files Browse the repository at this point in the history
to replace getAttribute() with FArrayHelper::getValue()
  • Loading branch information
cheesegrits committed Apr 30, 2015
1 parent b479827 commit c9f24c7
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -53,8 +53,8 @@ protected function getInput()
$formOrder = json_decode($listParams->get('faceted_form_order'));
$listOrder = json_decode($listParams->get('faceted_list_order'));
$this->value = (array) $this->value;
$linkedLists = $this->getAttribute('linkedlist', array());
$linkedForms = $this->getAttribute('linkedform', array());
$linkedLists = FArrayHelper::getValue($this->value, 'linkedlist', array());
$linkedForms = FArrayHelper::getValue($this->value, '$linkedForms', array());

if (empty($listOrder) || is_null($listOrder))
{
Expand Down

0 comments on commit c9f24c7

Please sign in to comment.