[Contest Logging] Bugfix for exchange logging.
这个提交包含在:
父节点
2bf5894744
当前提交
33868efa4c
共有 1 个文件被更改,包括 8 次插入 和 8 次删除
|
|
@ -24,10 +24,10 @@ class Logbook_model extends CI_Model {
|
||||||
|
|
||||||
// Contest exchange, need to separate between serial and other type of exchange
|
// Contest exchange, need to separate between serial and other type of exchange
|
||||||
if($this->input->post('exchangetype')) {
|
if($this->input->post('exchangetype')) {
|
||||||
$srx_string = $this->input->post('exch_recv');
|
$srx_string = $this->input->post('exch_recv') == '' ? null : $this->input->post('exch_recv');
|
||||||
$stx_string = $this->input->post('exch_sent');
|
$stx_string = $this->input->post('exch_sent') == '' ? null : $this->input->post('exch_sent');
|
||||||
$srx = $this->input->post('exch_serial_r');
|
$srx = $this->input->post('exch_serial_r') == '' ? null : $this->input->post('exch_serial_r');
|
||||||
$stx = $this->input->post('exch_serial_s');
|
$stx = $this->input->post('exch_serial_s') == '' ? null : $this->input->post('exch_serial_s');
|
||||||
} else {
|
} else {
|
||||||
$srx_string = null;
|
$srx_string = null;
|
||||||
$stx_string = null;
|
$stx_string = null;
|
||||||
|
|
|
||||||
正在加载…
在新工单中引用