File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 8181 }
8282 $ _SESSION ['error_msg ' ] = sprintf (_ ('Field "%s" can not be blank. ' ),$ error_msg );
8383 }
84- if (! empty ($ _SESSION ['error_msg ' ])) {
84+ if (empty ($ _SESSION ['error_msg ' ])) {
8585 $ v_rule = escapeshellarg ($ _GET ['rule ' ]);
8686 $ v_action = escapeshellarg ($ _POST ['v_action ' ]);
8787 $ v_protocol = escapeshellarg ($ _POST ['v_protocol ' ]);
9393 $ v_comment = escapeshellarg ($ _POST ['v_comment ' ]);
9494
9595 // Change Status
96- exec (HESTIA_CMD ."v-change-firewall-rule " .$ v_rule ." " .$ v_action ." " .$ v_ip ." " .$ v_port ." " .$ v_protocol ." " .$ v_comment , $ output , $ return_var );
96+ exec (HESTIA_CMD ."v-change-firewall-rule " .$ v_rule ." " .$ v_action ." " .$ v_ip ." " .$ v_port ." " .$ v_protocol ." " .$ v_comment , $ output , $ return_var );
9797 check_return_code ($ return_var ,$ output );
9898 unset($ output );
9999
You can’t perform that action at this time.
0 commit comments