mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2026-11-20 23:43:26 +03:00
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:
2 files changed
+1
-1
No files matched your search
@@ -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];
|
||||
|
||||
Reference in new issue
Block a user