Skip to content

Commit a9142ed

Browse files
author
Serghey Rodin
committed
fix for advanced menus on php-pfp
1 parent 6bf6cbd commit a9142ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/add/web/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
if (!empty($v_domain)) $v_ftp_user_prepath .= $v_domain;
9090

9191
// Set advanced option checkmark
92-
if (empty($_POST['v_proxy'])) $v_adv = 'yes';
92+
if (!empty($_POST['v_proxy'])) $v_adv = 'yes';
9393
if (!empty($_POST['v_ftp'])) $v_adv = 'yes';
9494
if ($_POST['v_proxy_ext'] != $v_proxy_ext) $v_adv = 'yes';
9595
if ((!empty($_POST['v_aliases'])) && ($_POST['v_aliases'] != 'www.'.$_POST['v_domain'])) $v_adv = 'yes';

0 commit comments

Comments
 (0)