From f6095901f023e9496c2251b034775013c32fa07a Mon Sep 17 00:00:00 2001 From: Dion Hulse Date: Wed, 8 Jan 2025 07:34:49 +0000 Subject: [PATCH] WordCamp Report: Check that the report has invoices in the currency before checking the conversion rates. --- .../wordcamp-reports/views/html/sponsor-invoices.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/public_html/wp-content/plugins/wordcamp-reports/views/html/sponsor-invoices.php b/public_html/wp-content/plugins/wordcamp-reports/views/html/sponsor-invoices.php index 4280be7c5e..d808d0d24f 100644 --- a/public_html/wp-content/plugins/wordcamp-reports/views/html/sponsor-invoices.php +++ b/public_html/wp-content/plugins/wordcamp-reports/views/html/sponsor-invoices.php @@ -99,13 +99,15 @@ - + 0; + ?> - 0 && $invoices['converted_amounts'][ $currency ] === 0 ) : $asterisk2 = true; ?> + **