From 9ce34c72ea95a372ad9cfafd6b6964ef3f159934 Mon Sep 17 00:00:00 2001 From: Kim Huebel Date: Tue, 26 Jul 2022 20:58:12 +0000 Subject: [PATCH] Tweeting with submode If a mode is logged with submode, this submode is used for the tweet instead of the mode, so FT4 is used instead of MFSK, if we worked in FT4. --- application/views/view_log/qso.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/views/view_log/qso.php b/application/views/view_log/qso.php index 62ff324a..5062032b 100644 --- a/application/views/view_log/qso.php +++ b/application/views/view_log/qso.php @@ -296,7 +296,7 @@ $hashtags = "#hamr #cloudlog"; } - $twitter_string = urlencode("Just worked ".$row->COL_CALL." in ".ucwords(strtolower(($row->COL_COUNTRY)))." (Gridsquare: ".$row->COL_GRIDSQUARE.") on ".$twitter_band_sat." using ".$row->COL_MODE." ".$hashtags); + $twitter_string = urlencode("Just worked ".$row->COL_CALL." in ".ucwords(strtolower(($row->COL_COUNTRY)))." (Gridsquare: ".$row->COL_GRIDSQUARE.") on ".$twitter_band_sat." using ".($row->COL_SUBMODE==null?$row->COL_MODE:$row->COL_SUBMODE)." ".$hashtags); ?>