From a9142eddc67c928f1382d01b089397fa76fde175 Mon Sep 17 00:00:00 2001 From: Serghey Rodin Date: Tue, 11 Oct 2016 17:51:14 +0300 Subject: [PATCH 1/2] fix for advanced menus on php-pfp --- web/add/web/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/add/web/index.php b/web/add/web/index.php index d57a46ad2..b3ddfabe3 100644 --- a/web/add/web/index.php +++ b/web/add/web/index.php @@ -89,7 +89,7 @@ if (!empty($_POST['ok'])) { if (!empty($v_domain)) $v_ftp_user_prepath .= $v_domain; // Set advanced option checkmark - if (empty($_POST['v_proxy'])) $v_adv = 'yes'; + if (!empty($_POST['v_proxy'])) $v_adv = 'yes'; if (!empty($_POST['v_ftp'])) $v_adv = 'yes'; if ($_POST['v_proxy_ext'] != $v_proxy_ext) $v_adv = 'yes'; if ((!empty($_POST['v_aliases'])) && ($_POST['v_aliases'] != 'www.'.$_POST['v_domain'])) $v_adv = 'yes'; From fa2ece8139379ba25af324fc2d0696935dc9dd54 Mon Sep 17 00:00:00 2001 From: Serghey Rodin Date: Tue, 11 Oct 2016 17:51:54 +0300 Subject: [PATCH 2/2] missing delimiter --- web/templates/admin/add_web.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/templates/admin/add_web.html b/web/templates/admin/add_web.html index 3bebdd8ad..26c98ab53 100644 --- a/web/templates/admin/add_web.html +++ b/web/templates/admin/add_web.html @@ -386,6 +386,6 @@