From 2dbc1b4f18426207c348e8d04edd63d27ab0c615 Mon Sep 17 00:00:00 2001 From: Bruce Bannon Date: Thu, 18 Apr 2024 17:08:25 -0600 Subject: [PATCH] close anchor properly If we start the anchor outside the if, we need to close it outside the if. --- upcoming.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/upcoming.php b/upcoming.php index dcaf170e7..31fa385a9 100644 --- a/upcoming.php +++ b/upcoming.php @@ -192,10 +192,10 @@ function print_upcoming_event ( $e, $date ) { $catNum = abs(intval($e->getCategory())); if ($catNum > 0 && !empty($categories[$catNum]['cat_icon_mime'])) { $catIcon = "getIcon.php?cat_id=" . $catNum; - $link .= 'category icon'; + $link .= 'category icon'; } } - echo $link; + echo "$link"; } } if ( $private ) {