Skip to content

Commit 2f117d9

Browse files
committed
Minor fix
Minor issue when check box empty custom-doc was set to "/home/user/web/domain.com/public_html
1 parent f2c417f commit 2f117d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/edit/web/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -755,7 +755,7 @@
755755
unset($_POST['v-costum-doc-domain'], $_POST['v-costum-doc-folder']);
756756
}
757757

758-
if ( !empty($_POST['v-costum-doc-domain']) && $v_custom_doc_root_prepath.$v_costum_doc_domain.'/public_html'.$v_costum_doc_folder != $v_costum_doc_root){
758+
if ( !empty($_POST['v-costum-doc-domain']) && !empty($_POST['v_custom_doc_root_check']) && $v_custom_doc_root_prepath.$v_costum_doc_domain.'/public_html'.$v_costum_doc_folder != $v_costum_doc_root){
759759

760760
$v_costum_doc_domain = escapeshellarg($_POST['v-costum-doc-domain']);
761761
$v_costum_doc_folder = escapeshellarg($_POST['v-costum-doc-folder']);

0 commit comments

Comments
 (0)