From 11c721a1ff16a90de57d85a983be580ca663fc4b Mon Sep 17 00:00:00 2001 From: Marco Antonio Nina Date: Fri, 26 Sep 2014 16:27:16 -0400 Subject: [PATCH] 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. --- workflow/engine/bin/tasks/cliWorkspaces.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workflow/engine/bin/tasks/cliWorkspaces.php b/workflow/engine/bin/tasks/cliWorkspaces.php index 00ad1f68d..165afd35c 100755 --- a/workflow/engine/bin/tasks/cliWorkspaces.php +++ b/workflow/engine/bin/tasks/cliWorkspaces.php @@ -447,7 +447,7 @@ function run_workspace_restore($args, $opts) { $workspace = array_key_exists("workspace", $opts) ? $opts['workspace'] : NULL; $overwrite = array_key_exists("overwrite", $opts); $multiple = array_key_exists("multiple", $opts); - $dstWorkspace = $args[1]; + $dstWorkspace = isset($args[1]) ? $args[1] : null; if(!empty($multiple)){ if(!Bootstrap::isLinuxOs()){ CLI::error("This is not a Linux enviroment, cannot use this multiple [-m] feature.\n");