Update Cat.php

This commit is contained in:
Peter Goodhall
2022-08-01 11:18:19 +01:00
parent c9047ae0e2
commit 8b333ca691

View File

@@ -7,8 +7,7 @@
if ($result['timestamp'] != "") {
$timestamp = $result['timestamp'];
} else {
$given->setTimezone(new DateTimeZone("UTC"));
$timestamp = $given->format("Y-m-d H:i:s");
$timestamp = gmdate("Y-m-d H:i:s");
}
$this->db->where('radio', $result['radio']);