Skip to content

Commit

Permalink
Fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
joeledstrom committed Mar 13, 2024
1 parent a68df56 commit ccaa214
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions widgets.php
Original file line number Diff line number Diff line change
Expand Up @@ -937,10 +937,12 @@ public function widget($args, $instance)
$hasTags[] = $tag;
}

$ortags = "";
if (!empty($instance['ortags'])) {
$ortags = normalize_whitespace($instance['ortags']);
}

$orTags = array();
foreach (explode(",", $ortags) as $tag) {
if ($tag === "") {
continue;
Expand Down

0 comments on commit ccaa214

Please sign in to comment.