kopia lustrzana https://github.com/magicbug/Cloudlog
LotW gridsquare will not be updated if VUCC gridsquares exist.
rodzic
4c9ed28972
commit
b46368fe06
|
@ -1436,6 +1436,10 @@ class Logbook_model extends CI_Model {
|
|||
$this->db->where('date_format(COL_TIME_ON, \'%Y-%m-%d %H:%i\') = "'.$datetime.'"');
|
||||
$this->db->where('COL_CALL', $callsign);
|
||||
$this->db->where('COL_BAND', $band);
|
||||
$this->db->group_start();
|
||||
$this->db->where('COL_VUCC_GRIDS');
|
||||
$this->db->or_where('COL_VUCC_GRIDS', '');
|
||||
$this->db->group_end();
|
||||
if(strlen($qsl_gridsquare) > 4) {
|
||||
$this->db->group_start();
|
||||
$this->db->where('COL_GRIDSQUARE', "");
|
||||
|
|
Ładowanie…
Reference in New Issue