Skip to content

Commit

Permalink
Update ArticleThemePage.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Dennis Prins authored Aug 18, 2022
1 parent c7e9c2f commit 4e65c1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Pages/ArticleThemePage.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public function IsActive(): bool
$URLFilters = $controller->getFiltersFromURL();
$themes = $URLFilters['themes'];

if (in_array($this->data()->URLSegment, explode(',', $themes))) {
if (in_array($this->data()->URLSegment, explode(',', $themes ?? ''))) {
return true;
}

Expand Down

0 comments on commit 4e65c1f

Please sign in to comment.