mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2026-11-20 23:43:26 +03:00
composer format time
This commit is contained in:
1 parent
35de590567
commit
6624a70c2d
1 file changed
+3
-3
+3
-3
@@ -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";
|
||||
|
||||
|
||||
Reference in new issue
Block a user