From 1ec2ec119938c6ccb65e7bec0c734bb706e10346 Mon Sep 17 00:00:00 2001 From: Christian Boltz Date: Mon, 10 Apr 2017 20:39:30 +0200 Subject: [PATCH] Move initialization of $fDomain to viewlog.php The other files using this variable (vacation.php and list-virtual.php) initialize it properly. --- variables.inc.php | 1 - viewlog.php | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/variables.inc.php b/variables.inc.php index 8107e5a8..a04671bc 100644 --- a/variables.inc.php +++ b/variables.inc.php @@ -20,7 +20,6 @@ */ $error = ""; -$fDomain = ""; $fPassword = ""; $fWhere = ""; $tAlias = ""; diff --git a/viewlog.php b/viewlog.php index b5175336..50be3b56 100644 --- a/viewlog.php +++ b/viewlog.php @@ -36,6 +36,7 @@ else { $list_domains = list_domains_for_admin ($SESSID_USERNAME); } +$fDomain = ''; if ($_SERVER['REQUEST_METHOD'] == "GET") { if ((is_array ($list_domains) and sizeof ($list_domains) > 0)) $fDomain = $list_domains[0];