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

pull/1082/head
jtmnt 2021-07-05 22:23:35 +03:00
rodzic b4a01660b7
commit b18e1013f3
1 zmienionych plików z 4 dodań i 2 usunięć

Wyświetl plik

@ -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 @@
}
?>
?>