mirror of
https://github.com/myvesta/vesta
synced 2025-07-31 03:51:14 -07:00
Fix for broken edit cronjob interface when CMD contains quote
This commit is contained in:
parent
c082c61de9
commit
d9e45f25a7
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ $v_job = escapeshellarg($_GET['job']);
|
|||
exec (VESTA_CMD."v-list-cron-job ".$user." ".$v_job." 'json'", $output, $return_var);
|
||||
check_return_code($return_var,$output);
|
||||
|
||||
$data = json_decode(implode('', str_replace("\\", "\\\\", $output)), true);
|
||||
$data = json_decode(implode('', $output), true);
|
||||
unset($output);
|
||||
|
||||
// Parse cron job
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue