File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 169169 $ v_ttl = escapeshellarg ($ _POST ['v_ttl ' ]);
170170 // Add dns record
171171 if (empty ($ _SESSION ['error_msg ' ])) {
172- exec (HESTIA_CMD ."v-add-dns-record " .$ user ." " .$ v_domain ." " .$ v_rec ." " .$ v_type ." " .$ v_val ." " .$ v_priority ." '' false " .$ v_ttl , $ output , $ return_var );
172+ exec (HESTIA_CMD ."v-add-dns-record " .$ user ." " .$ v_domain ." " .$ v_rec ." " .$ v_type ." " .$ v_val ." " .$ v_priority ." '' no " .$ v_ttl , $ output , $ return_var );
173173 check_return_code ($ return_var , $ output );
174174 unset($ output );
175175 }
Original file line number Diff line number Diff line change 162162 $ v_val = escapeshellarg ($ _POST ['v_val ' ]);
163163 $ v_priority = escapeshellarg ($ _POST ['v_priority ' ]);
164164 $ v_ttl = escapeshellarg ($ _POST ['v_ttl ' ]);
165- exec (HESTIA_CMD ."v-change-dns-record " .$ user ." " .$ v_domain ." " .$ v_record_id ." " .$ v_rec ." " .$ v_type ." " .$ v_val ." " .$ v_priority ." false " .$ v_ttl , $ output , $ return_var );
165+ exec (HESTIA_CMD ."v-change-dns-record " .$ user ." " .$ v_domain ." " .$ v_record_id ." " .$ v_rec ." " .$ v_type ." " .$ v_val ." " .$ v_priority ." no " .$ v_ttl , $ output , $ return_var );
166166 check_return_code ($ return_var , $ output );
167167 $ v_rec = $ _POST ['v_rec ' ];
168168 $ v_type = $ _POST ['v_type ' ];
You can’t perform that action at this time.
0 commit comments