From bdb94a22f3c816f02495dbb36df8e21dab0045f3 Mon Sep 17 00:00:00 2001 From: Peter Goodhall Date: Sun, 3 Jul 2022 17:08:34 +0100 Subject: [PATCH] Fixes error when submode isn't present when displaying the table --- application/controllers/Eqsl.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/application/controllers/Eqsl.php b/application/controllers/Eqsl.php index 6f00aa1a..2cde73bd 100644 --- a/application/controllers/Eqsl.php +++ b/application/controllers/Eqsl.php @@ -75,7 +75,12 @@ class eqsl extends CI_Controller { $table .= "".$time_on.""; $table .= "".str_replace("0","Ø",$record['call']).""; $table .= "".$record['mode'].""; - $table .= "".$record['submode'].""; + if (isset($record['submode']) + { + $table .= "".$record['submode'].""; + } else { + $table .= ""; + } $table .= "QSO Record: ".$status.""; $table .= "eQSL Record: ".$eqsl_status.""; $table .= "";