[PHP 8.1] Fixed another null into string error when saving QSO

pull/1912/head
Andreas 2023-01-09 08:49:18 +01:00
rodzic dbdb713128
commit a47bef997b
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -212,7 +212,7 @@ class Logbook_model extends CI_Model {
$data['COL_MY_IOTA'] = strtoupper(trim($station['station_iota']));
$data['COL_MY_SOTA_REF'] = strtoupper(trim($station['station_sota']));
$data['COL_MY_WWFF_REF'] = strtoupper(trim($station['station_wwff']));
$data['COL_MY_POTA_REF'] = strtoupper(trim($station['station_pota']));
$data['COL_MY_POTA_REF'] = $station['station_pota'] == null ? '' : strtoupper(trim($station['station_pota']));
$data['COL_STATION_CALLSIGN'] = strtoupper(trim($station['station_callsign']));
$data['COL_MY_DXCC'] = strtoupper(trim($station['station_dxcc']));