diff --git a/customer_email.php b/customer_email.php index 282888f1..2cba4c35 100644 --- a/customer_email.php +++ b/customer_email.php @@ -224,12 +224,12 @@ if ($page == 'overview') { $stmt = Database::prepare("SELECT `id`, `email`, `email_full`, `iscatchall`, `destination`, `customerid` FROM `" . TABLE_MAIL_VIRTUAL . "` WHERE (`email` = :email OR `email_full` = :emailfull ) - AND `customerid`= :customerid" + AND `customerid`= :cid" ); $params = array( "email" => $email, - "email_full" => $email_full, - "customerid" => $userinfo['customerid'] + "emailfull" => $email_full, + "cid" => $userinfo['customerid'] ); $email_check = Database::pexecute_first($stmt, $params); diff --git a/templates/Sparkle/index.tpl b/templates/Sparkle/index.tpl index 5c78871d..2ea4b730 100644 --- a/templates/Sparkle/index.tpl +++ b/templates/Sparkle/index.tpl @@ -30,7 +30,9 @@

Froxlor Server Management Panel

- Froxlor Server Management Panel + + Froxlor Server Management Panel +