From ccaa214421a2fc0746dcfbd315426fe850292d26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joel=20Edstr=C3=B6m?= Date: Wed, 13 Mar 2024 14:18:08 +0100 Subject: [PATCH] Fix warning --- widgets.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/widgets.php b/widgets.php index 6d317c1..fbc51c4 100644 --- a/widgets.php +++ b/widgets.php @@ -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;