mirror of
https://github.com/magicbug/Cloudlog
synced 2024-11-23 10:08:38 +00:00
Add timestamp to 'cat' update, to enforce timestamp update in mysql when other values have not changed.
This commit is contained in:
parent
b4a01660b7
commit
b18e1013f3
@ -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 @@
|
||||
|
||||
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user