mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Update Cat.php
This commit is contained in:
@@ -5,9 +5,9 @@
|
||||
function update($result, $user_id) {
|
||||
|
||||
if ($result['timestamp'] != "") {
|
||||
$timestamp = $result['timestamp'];
|
||||
$timestamp = gmdate("Y-m-d H:i:s");
|
||||
} else {
|
||||
$timestamp = date("Y-m-d H:i:s", time() - date("Z")) ;
|
||||
$timestamp = gmdate("Y-m-d H:i:s");
|
||||
}
|
||||
|
||||
$this->db->where('radio', $result['radio']);
|
||||
|
||||
Reference in New Issue
Block a user