Move initialization of $fDomain to viewlog.php

The other files using this variable (vacation.php and list-virtual.php)
initialize it properly.
This commit is contained in:
Christian Boltz committed 2017-04-10 20:39:30 +02:00
1 parent f4f2d1b0f4
commit 1ec2ec1199
2 files changed
+1 -1

No files matched your search

-1
View File
@@ -20,7 +20,6 @@
*/
$error = "";
$fDomain = "";
$fPassword = "";
$fWhere = "";
$tAlias = "";
+1
View File
@@ -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];