From 247804c5084cb1893ae457544672a3b647633f66 Mon Sep 17 00:00:00 2001 From: geoffhumphrey Date: Fri, 12 Apr 2024 11:17:35 -0600 Subject: [PATCH] Final 2.7.0.0 Fix Info Icon bug in winners display. --- sections/winners.sec.php | 4 +++- sections/winners_category.sec.php | 4 +++- sections/winners_subcategory.sec.php | 7 ++----- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/sections/winners.sec.php b/sections/winners.sec.php index 18ba535c..419f4ff8 100644 --- a/sections/winners.sec.php +++ b/sections/winners.sec.php @@ -148,9 +148,11 @@ $winners_table_body_1 .= ""; if ($_SESSION['prefsStyleSet'] == "BA") $winners_table_body_1 .= $row_scores['brewStyle']; else $winners_table_body_1 .= $style.": ".$row_scores['brewStyle']; + if ((!empty($row_scores['brewInfo'])) && ($section != "results")) { - $winners_table_body_1 .= " "; + $winners_table_body_1 .= " "; } + $winners_table_body_1 .= ""; if ($_SESSION['prefsProEdition'] == 0) { diff --git a/sections/winners_category.sec.php b/sections/winners_category.sec.php index 8ab2b123..fda25915 100644 --- a/sections/winners_category.sec.php +++ b/sections/winners_category.sec.php @@ -112,9 +112,11 @@ $table_body1 .= ""; if ($winner_style_set == "BA") $table_body1 .= $row_scores['brewStyle']; else $table_body1 .= $style.": ".$row_scores['brewStyle']; + if ((!empty($row_scores['brewInfo'])) && ($section != "results")) { - $table_body1 .= " "; + $table_body1 .= " "; } + $table_body1 .= ""; if ($_SESSION['prefsProEdition'] == 0) { diff --git a/sections/winners_subcategory.sec.php b/sections/winners_subcategory.sec.php index 753d4fc2..28299986 100644 --- a/sections/winners_subcategory.sec.php +++ b/sections/winners_subcategory.sec.php @@ -129,13 +129,10 @@ $table_body1 .= ""; $table_body1 .= $style.": ".$style_long; - /* - // The popover info was not populating; could not determine the cause. - // Commenting out until 3.0.0 rework. if ((!empty($row_scores['brewInfo'])) && ($section != "results")) { - $table_body1 .= " "; + $table_body1 .= " "; } - */ + $table_body1 .= ""; if ($_SESSION['prefsProEdition'] == 0) {