Skip to content

Commit

Permalink
Merge pull request #17 from zonky2/patch-2
Browse files Browse the repository at this point in the history
Avoid undefined array index
  • Loading branch information
dmolineus authored May 24, 2023
2 parents 8528ed1 + e634ebe commit edec0be
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/DCA/PageDCA.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ public function hookLoadDataContainer(string $table): void
continue;
}

$palette .= ';{hofff_language_relations_legend}';
$_GET['do'] === 'hofff_language_relations_group' && $palette .= ',hofff_language_relations_info';
$palette .= ',hofff_language_relations';
$palette .= ';{hofff_language_relations_legend}';
($_GET['do'] ?? '') === 'hofff_language_relations_group' && $palette .= ',hofff_language_relations_info';
$palette .= ',hofff_language_relations';
}

unset($palette, $palettes);
Expand Down

0 comments on commit edec0be

Please sign in to comment.