From dbe9f62d2647824a1cb44e3a76dd2ddfa78f7297 Mon Sep 17 00:00:00 2001 From: int2001 Date: Mon, 2 Dec 2024 11:21:15 +0000 Subject: [PATCH] Catch years without any SAT-Things (tnx Andreas) --- application/models/Stats.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/models/Stats.php b/application/models/Stats.php index c138c9e3c..0023bd43a 100644 --- a/application/models/Stats.php +++ b/application/models/Stats.php @@ -114,8 +114,8 @@ } $result['qsoView'] = $qsoView; - $result['satunique'] = $satcalls; - $result['modeunique'] = $modecalls; + $result['satunique'] = $satcalls ?? ''; + $result['modeunique'] = $modecalls ?? ''; $result['total'] = $this->getUniqueSatCallsignsTotal($yr); return $result;