Move initialization of $fDomain to viewlog.php

The other files using this variable (vacation.php and list-virtual.php)
initialize it properly.
pull/24/head
Christian Boltz 8 years ago
parent f4f2d1b0f4
commit 1ec2ec1199
No known key found for this signature in database
GPG Key ID: C6A682EA63C82F1C

@ -20,7 +20,6 @@
*/
$error = "";
$fDomain = "";
$fPassword = "";
$fWhere = "";
$tAlias = "";

@ -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];

Loading…
Cancel
Save