From 37145368516925ca6856d4fc9c57eac1533a88d3 Mon Sep 17 00:00:00 2001 From: phl0 Date: Mon, 20 May 2024 08:26:53 +0200 Subject: [PATCH] also show station profile name for successful uploads --- application/controllers/Lotw.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/application/controllers/Lotw.php b/application/controllers/Lotw.php index d1035d96c..00444ac92 100644 --- a/application/controllers/Lotw.php +++ b/application/controllers/Lotw.php @@ -253,7 +253,7 @@ class Lotw extends CI_Controller { // Nothing to upload if(empty($data['qsos']->result())){ if ($this->user_model->authorize(2)) { // Only be verbose if we have a session - echo $station_profile->station_callsign." (".$station_profile->station_profile_name.") No QSOs to upload.
"; + echo $station_profile->station_callsign." (".$station_profile->station_profile_name."): No QSOs to upload.
"; } continue; } @@ -320,7 +320,7 @@ class Lotw extends CI_Controller { $result = curl_exec($ch); if(curl_errno($ch)){ - echo $station_profile->station_callsign." (".$station_profile->station_profile_name.") Upload Failed: ".curl_strerror(curl_errno($ch))."
"; + echo $station_profile->station_callsign." (".$station_profile->station_profile_name."): Upload Failed - ".curl_strerror(curl_errno($ch))."
"; $this->LotwCert->last_upload($data['lotw_cert_info']->lotw_cert_id, "Upload failed"); continue; } @@ -329,13 +329,13 @@ class Lotw extends CI_Controller { if ($pos === false) { // Upload of TQ8 Failed for unknown reason - echo $station_profile->station_callsign." (".$station_profile->station_profile_name.") Upload Failed: ".curl_strerror(curl_errno($ch))."
"; + echo $station_profile->station_callsign." (".$station_profile->station_profile_name."): Upload Failed - ".curl_strerror(curl_errno($ch))."
"; $this->LotwCert->last_upload($data['lotw_cert_info']->lotw_cert_id, "Upload failed"); continue; } else { // Upload of TQ8 was successfull - echo "Upload Successful - ".$filename_for_saving."
"; + echo $station_profile->station_callsign." (".$station_profile->station_profile_name."): Upload Successful - ".$filename_for_saving."
"; $this->LotwCert->last_upload($data['lotw_cert_info']->lotw_cert_id, "Success");