From 5f6c4546b8e15909a78b727dc0e59e9335f11090 Mon Sep 17 00:00:00 2001 From: int2001 Date: Thu, 21 Aug 2025 05:14:02 +0000 Subject: [PATCH] Fix CBR Export --- application/libraries/Cabrilloformat.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/libraries/Cabrilloformat.php b/application/libraries/Cabrilloformat.php index 36fd25a56..4b0bc771f 100644 --- a/application/libraries/Cabrilloformat.php +++ b/application/libraries/Cabrilloformat.php @@ -147,7 +147,7 @@ class Cabrilloformat { } if ($grid_export == true) { - $returnstring .= substr($qso->station_gridsquare, 0, 4) ?? '' ." "; + $returnstring .= (substr($qso->station_gridsquare, 0, 4) ?? '') ." "; } if ($qso->COL_STX_STRING != "") { @@ -161,7 +161,7 @@ class Cabrilloformat { } if ($grid_export == true) { - $returnstring .= substr($qso->COL_GRIDSQUARE, 0, 4) ?? '' ." "; + $returnstring .= (substr($qso->COL_GRIDSQUARE, 0, 4) ?? '') ." "; } if ($qso->COL_SRX_STRING != "") {