Load lib only if not loaded (prevent spilling of logs)
这个提交包含在:
父节点
b0e7d74db1
当前提交
f58b3f5ba0
共有 1 个文件被更改,包括 4 次插入 和 2 次删除
|
|
@ -2845,7 +2845,9 @@ function check_if_callsign_worked_in_logbook($callsign, $StationLocationsArray =
|
|||
if (isset($row)) {
|
||||
$station_gridsquare = $row->station_gridsquare;
|
||||
}
|
||||
if(!$this->load->is_loaded('Qra')) {
|
||||
$this->load->library('Qra');
|
||||
}
|
||||
if ($qsl_gridsquare != "") {
|
||||
$data['COL_GRIDSQUARE'] = $qsl_gridsquare;
|
||||
$data['COL_DISTANCE'] = $this->qra->distance($station_gridsquare, $qsl_gridsquare, 'K');
|
||||
|
|
|
|||
正在加载…
在新工单中引用