Merge pull request #2389 from int2001/clqrz_fix
Prevent QSO being updated twice or more when LoTW-Cnf arrives
这个提交包含在:
		
						当前提交
						8cce754258
					
				
					共有  1 个文件被更改,包括 1 次插入 和 0 次删除
				
			
		|  | @ -2725,6 +2725,7 @@ class Logbook_model extends CI_Model { | ||||||
|     $this->db->where('date_format(COL_TIME_ON, \'%Y-%m-%d %H:%i\') = "'.$datetime.'"'); |     $this->db->where('date_format(COL_TIME_ON, \'%Y-%m-%d %H:%i\') = "'.$datetime.'"'); | ||||||
|     $this->db->where('COL_CALL', $callsign); |     $this->db->where('COL_CALL', $callsign); | ||||||
|     $this->db->where('COL_BAND', $band); |     $this->db->where('COL_BAND', $band); | ||||||
|  |     $this->db->where('COL_LOTW_QSL_RCVD !=', $qsl_status);	// Prevent QSO from beeing updated twice (or more)
 | ||||||
|     $this->db->where('COL_STATION_CALLSIGN', $station_callsign); |     $this->db->where('COL_STATION_CALLSIGN', $station_callsign); | ||||||
| 
 | 
 | ||||||
|     $this->db->update($this->config->item('table_name'), $data); |     $this->db->update($this->config->item('table_name'), $data); | ||||||
|  |  | ||||||
		正在加载…
	
		在新工单中引用