mirror of
https://github.com/magicbug/Cloudlog
synced 2024-11-23 10:08:38 +00:00
Merge pull request #2583 from int2001/reassign_fix
Bugfixing: Reassign QSOs
This commit is contained in:
commit
e31e5bafb1
@ -4148,7 +4148,11 @@ function check_if_callsign_worked_in_logbook($callsign, $StationLocationsArray =
|
||||
);
|
||||
|
||||
$this->db->where(array('station_id' => NULL));
|
||||
$this->db->where('col_station_callsign', $station_callsign);
|
||||
if ($station_callsign == '') {
|
||||
$this->db->where(array('col_station_callsign' => NULL));
|
||||
} else {
|
||||
$this->db->where('col_station_callsign', $station_callsign);
|
||||
}
|
||||
$this->db->update($this->config->item('table_name'), $data);
|
||||
if ($this->db->affected_rows() > 0) {
|
||||
return TRUE;
|
||||
|
Loading…
Reference in New Issue
Block a user