From 41c3f21f0bc0d2b97df193384258fc3ea8215b5c Mon Sep 17 00:00:00 2001 From: Michael Kaufmann Date: Thu, 11 Feb 2021 16:16:04 +0100 Subject: [PATCH] list only phpenabled and http-enabled domains in php-configuration overview; fixes #911 Signed-off-by: Michael Kaufmann --- lib/Froxlor/Api/Commands/PhpSettings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Froxlor/Api/Commands/PhpSettings.php b/lib/Froxlor/Api/Commands/PhpSettings.php index 002ebbca..9d3ca362 100644 --- a/lib/Froxlor/Api/Commands/PhpSettings.php +++ b/lib/Froxlor/Api/Commands/PhpSettings.php @@ -59,7 +59,7 @@ class PhpSettings extends \Froxlor\Api\ApiCommand implements \Froxlor\Api\Resour ); $query = "SELECT * FROM `" . TABLE_PANEL_DOMAINS . "` - WHERE `phpsettingid` = :id"; + WHERE `phpsettingid` = :id AND `email_only` = '0' AND `phpenabled` = '1'"; if (! $with_subdomains) { $query .= " AND `parentdomainid` = '0'";