Skip to content

Commit d9e45f2

Browse files
authored
Fix for broken edit cronjob interface when CMD contains quote
1 parent c082c61 commit d9e45f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/edit/cron/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
exec (VESTA_CMD."v-list-cron-job ".$user." ".$v_job." 'json'", $output, $return_var);
2424
check_return_code($return_var,$output);
2525

26-
$data = json_decode(implode('', str_replace("\\", "\\\\", $output)), true);
26+
$data = json_decode(implode('', $output), true);
2727
unset($output);
2828

2929
// Parse cron job

0 commit comments

Comments
 (0)