Skip to content

Commit 1ed22cf

Browse files
authored
Merge pull request hestiacp#2292 from jaapmarcus/fix/firewall-error-message
Fix error message /edit/firewall and /add/firewall
2 parents e4903b8 + dbe1b6b commit 1ed22cf

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

web/add/firewall/index.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
exec(HESTIA_CMD."v-list-firewall-ipset 'json'", $output, $return_var);
1818
check_return_code($return_var, $output);
1919
$data = json_decode(implode('', $output), true);
20+
unset($output);
2021

2122
$ipset_lists=[];
2223
foreach ($data as $key => $value) {

web/edit/firewall/index.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
exec(HESTIA_CMD."v-list-firewall-ipset 'json'", $output, $return_var);
4747
check_return_code($return_var, $output);
4848
$data = json_decode(implode('', $output), true);
49+
unset($output);
4950

5051
$ipset_lists=[];
5152
foreach ($data as $key => $value) {

0 commit comments

Comments
 (0)