Add timestamp to 'cat' update, to enforce timestamp update in mysql when other values have not changed.

This commit is contained in:
jtmnt 2021-07-05 22:23:35 +03:00
parent b4a01660b7
commit b18e1013f3

View File

@ -41,6 +41,7 @@
$data = array(
'frequency' => $result['frequency'],
'mode' => $result['mode'],
'timestamp' => $result['timestamp'],
);
$this->db->where('id', $radio_id);
@ -65,7 +66,8 @@
$data = array(
'radio' => $result['radio'],
'frequency' => $result['frequency'],
'mode' => $result['mode']
'mode' => $result['mode'],
'timestamp' => $result['timestamp'],
);
}
@ -115,4 +117,4 @@
}
?>
?>