stx, srx on adif errored due to not being within if statements fixed

pull/106/merge
Peter Goodhall 2012-11-01 02:16:18 +00:00
rodzic 2a03c6af15
commit 3f2e327c71
3 zmienionych plików z 7803 dodań i 3 usunięć

Wyświetl plik

@ -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']);

Wyświetl plik

@ -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,

7788
uploads/log.adi 100644

Plik diff jest za duży Load Diff