[Distances Worked] Bugfix for two locations, where one didn't have any QSOs on selected band.
这个提交包含在:
		
							父节点
							
								
									6d5acdfd11
								
							
						
					
					
						当前提交
						952f6080a6
					
				
					共有  1 个文件被更改,包括 7 次插入 和 3 次删除
				
			
		|  | @ -37,12 +37,16 @@ class Distances_model extends CI_Model | ||||||
| 				else { | 				else { | ||||||
| 					$this->db->where('col_band', $postdata['band']); | 					$this->db->where('col_band', $postdata['band']); | ||||||
| 				} | 				} | ||||||
|  | 
 | ||||||
| 				$this->db->where('station_id', $station_id); | 				$this->db->where('station_id', $station_id); | ||||||
| 				$dataarrayata = $this->db->get($this->config->item('table_name')); | 				$queryresult = $this->db->get($this->config->item('table_name')); | ||||||
| 
 | 
 | ||||||
| 				$temp = $this->plot($dataarrayata->result_array(), $gridsquare, $measurement_base); |                 if ($queryresult->result_array()) { | ||||||
|  |                     $temp = $this->plot($queryresult->result_array(), $gridsquare, $measurement_base); | ||||||
|  |      | ||||||
|  |                     $result = $this->mergeresult($result, $temp); | ||||||
|  |                 } | ||||||
| 
 | 
 | ||||||
| 				$result = $this->mergeresult($result, $temp); |  | ||||||
| 			} | 			} | ||||||
| 		} | 		} | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		正在加载…
	
		在新工单中引用