kopia lustrzana https://github.com/magicbug/Cloudlog
fixed error message while logging that trim() was called with argument NULL
rodzic
604910b850
commit
fe2ee9d659
|
@ -289,7 +289,7 @@ class Logbook_model extends CI_Model
|
||||||
$data['COL_MY_CITY'] = strtoupper(trim($station['station_city']));
|
$data['COL_MY_CITY'] = strtoupper(trim($station['station_city']));
|
||||||
$data['COL_MY_IOTA'] = strtoupper(trim($station['station_iota']));
|
$data['COL_MY_IOTA'] = strtoupper(trim($station['station_iota']));
|
||||||
$data['COL_MY_SOTA_REF'] = strtoupper(trim($station['station_sota']));
|
$data['COL_MY_SOTA_REF'] = strtoupper(trim($station['station_sota']));
|
||||||
$data['COL_MY_WWFF_REF'] = strtoupper(trim($station['station_wwff']));
|
$data['COL_MY_WWFF_REF'] = $station['station_wwff'] ? strtoupper(trim($station['station_wwff'])) : '';
|
||||||
$data['COL_MY_POTA_REF'] = $station['station_pota'] == null ? '' : 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_STATION_CALLSIGN'] = strtoupper(trim($station['station_callsign']));
|
||||||
|
|
Ładowanie…
Reference in New Issue