From b069db1d7cc558de0d4d3ea14f50cd6ec24266a9 Mon Sep 17 00:00:00 2001 From: HB9HIL <80885850+HB9HIL@users.noreply.github.com> Date: Thu, 12 Sep 2024 12:54:30 +0000 Subject: [PATCH] ?? '' for station power --- application/controllers/Qso.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/controllers/Qso.php b/application/controllers/Qso.php index 4019c2ae3..896dd9314 100644 --- a/application/controllers/Qso.php +++ b/application/controllers/Qso.php @@ -151,7 +151,7 @@ class QSO extends CI_Controller { $actstation=$this->stations->find_active() ?? ''; $returner['activeStationId'] = $actstation; $profile_info = $this->stations->profile($actstation)->row(); - $returner['activeStationTXPower'] = xss_clean($profile_info->station_power); + $returner['activeStationTXPower'] = xss_clean($profile_info->station_power ?? ''); $returner['activeStationOP'] = xss_clean($this->session->userdata('operator_callsign')); $returner['message']='success';