Update viewlog.php

This commit is contained in:
benchea dan authored and GitHub committed 2022-01-12 10:39:16 +02:00
1 parent 8690f1c2b6
commit d80041bf4e
1 file changed
+2 -2
+2 -2
View File
@@ -99,13 +99,13 @@ 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);
}