kopia lustrzana https://github.com/magicbug/Cloudlog
stx, srx on adif errored due to not being within if statements fixed
rodzic
2a03c6af15
commit
3f2e327c71
|
@ -91,7 +91,7 @@ class adif extends CI_Controller {
|
|||
$this->logbook_model->import($record);
|
||||
|
||||
//echo $record["call"]."<br>";
|
||||
print_r($record);
|
||||
//print_r($record);
|
||||
};
|
||||
|
||||
unlink('./uploads/'.$data['upload_data']['file_name']);
|
||||
|
|
|
@ -689,6 +689,18 @@ class Logbook_model extends CI_Model {
|
|||
} else {
|
||||
$QSLSENT = null;
|
||||
}
|
||||
|
||||
if(isset($record['stx'])) {
|
||||
$stx = $record['stx'];
|
||||
} else {
|
||||
$stx = null;
|
||||
}
|
||||
|
||||
if(isset($record['srx'])) {
|
||||
$srx = $record['srx'];
|
||||
} else {
|
||||
$srx = null;
|
||||
}
|
||||
|
||||
$this->db->where('COL_CALL', $record['call']);
|
||||
$this->db->where('COL_TIME_ON', $time_on);
|
||||
|
@ -719,8 +731,8 @@ class Logbook_model extends CI_Model {
|
|||
'COL_BAND_RX' => 0,
|
||||
'COL_ANT_AZ' => 0,
|
||||
'COL_ANT_EL' => 0,
|
||||
'COL_STX_STRING' => $record['stx'],
|
||||
'COL_SRX_STRING' => $record['srx'],
|
||||
'COL_STX_STRING' => $stx,
|
||||
'COL_SRX_STRING' => $srx,
|
||||
'COL_IOTA' => $iota,
|
||||
'COL_QSLRDATE' => $QSLRDATE,
|
||||
'COL_QSL_RCVD' => $QSLRCVD,
|
||||
|
|
Plik diff jest za duży
Load Diff
Ładowanie…
Reference in New Issue