Skip to content

Commit

Permalink
Update HelperList.php
Browse files Browse the repository at this point in the history
  • Loading branch information
wdammak authored Sep 29, 2020
1 parent 04a66e8 commit 654f9f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/helper/HelperList.php
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,7 @@ public function displayListHeader()
if (is_string($value)) {
$value = json_decode($value, true);
}
if (!Validate::isCleanHtml($value[0]) || !Validate::isCleanHtml($value[1])) {
if (isset($value[0]) && !Validate::isCleanHtml($value[0]) || isset($value[0]) && !Validate::isCleanHtml($value[1])) {
$value = '';
}
$name = $this->list_id.'Filter_'.(isset($params['filter_key']) ? $params['filter_key'] : $key);
Expand Down

0 comments on commit 654f9f0

Please sign in to comment.