composer format time

This commit is contained in:
David Goodwin committed 2021-08-09 09:44:54 +01:00
1 parent 35de590567
commit 6624a70c2d
1 file changed
+3 -3
+3 -3
View File
@@ -69,15 +69,15 @@ if ($error != 1) {
$where = [];
$params = [];
if($fDomain) {
if ($fDomain) {
$where[] = 'domain = :domain' ;
$params['domain'] = $fDomain;
}
$where_sql = '';
if(!empty($where)) {
if (!empty($where)) {
$where_sql = 'WHERE ' . implode(' AND ', $where);
}
}
$query = "SELECT timestamp,username,domain,action,data FROM $table_log $where_sql ORDER BY timestamp DESC LIMIT $page_size";