mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
Merge branch 'wip-mdl-55986-fix-2' of https://github.com/rajeshtaneja/moodle
This commit is contained in:
commit
4dfc6a3296
@ -94,7 +94,7 @@ if ($options['parallel'] && $options['parallel'] > 1) {
|
||||
// Sanitize all input options, so they can be passed to util.
|
||||
foreach ($options as $option => $value) {
|
||||
if ($value) {
|
||||
$commandoptions .= " --$option='$value'";
|
||||
$commandoptions .= " --$option=\"$value\"";
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
@ -269,7 +269,7 @@ function commands_to_execute($options) {
|
||||
if ($options[$option]) {
|
||||
$extra .= " --$option";
|
||||
if ($value) {
|
||||
$extra .= "='$value'";
|
||||
$extra .= "=\"$value\"";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user