Added passeneg manager. Part 3

This commit is contained in:
Alexey Berezhok
2024-12-14 23:10:43 +03:00
parent 455223af4b
commit a2988a71d7
4 changed files with 65 additions and 4 deletions

View File

@@ -42,7 +42,7 @@ if ((!empty($_GET["del"])) && ($_GET["del"] != "")) {
// Data
exec(HESTIA_CMD . "v-ext-modules-run passenger_manager get_rubys json", $output, $return_var);
$rubys = [];
if ($return_var != 0) {
if ($return_var == 0) {
$rubys = json_decode(implode("", $output), true);
ksort($rubys);
} else {