From d80041bf4e19b96b406f79f663cecf95724ac374 Mon Sep 17 00:00:00 2001 From: benchea dan <30780133+bnchdan@users.noreply.github.com> Date: Wed, 12 Jan 2022 10:39:16 +0200 Subject: [PATCH] Update viewlog.php --- public/viewlog.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/viewlog.php b/public/viewlog.php index a1048424..04214c6d 100644 --- a/public/viewlog.php +++ b/public/viewlog.php @@ -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); }