PM-393 muetsra un Notice al inicio cuando se realiza... SOLVED
- The argument not validated. - A validation was added in function retore in argument name.
This commit is contained in:
@@ -447,7 +447,7 @@ function run_workspace_restore($args, $opts) {
|
|||||||
$workspace = array_key_exists("workspace", $opts) ? $opts['workspace'] : NULL;
|
$workspace = array_key_exists("workspace", $opts) ? $opts['workspace'] : NULL;
|
||||||
$overwrite = array_key_exists("overwrite", $opts);
|
$overwrite = array_key_exists("overwrite", $opts);
|
||||||
$multiple = array_key_exists("multiple", $opts);
|
$multiple = array_key_exists("multiple", $opts);
|
||||||
$dstWorkspace = $args[1];
|
$dstWorkspace = isset($args[1]) ? $args[1] : null;
|
||||||
if(!empty($multiple)){
|
if(!empty($multiple)){
|
||||||
if(!Bootstrap::isLinuxOs()){
|
if(!Bootstrap::isLinuxOs()){
|
||||||
CLI::error("This is not a Linux enviroment, cannot use this multiple [-m] feature.\n");
|
CLI::error("This is not a Linux enviroment, cannot use this multiple [-m] feature.\n");
|
||||||
|
|||||||
Reference in New Issue
Block a user