Merged in bugfix/PMCORE-3527-A (pull request #8280)

PMCORE-3527-A

Approved-by: Julio Cesar Laura Avendaño
This commit is contained in:
Andrea Adamczyk
2021-11-16 18:07:20 +00:00
committed by Julio Cesar Laura Avendaño

View File

@@ -41,8 +41,10 @@ if (!defined('TIME_ZONE')) {
$cliName = array_shift($args);
$taskName = array_shift($args);
$workspace = array_shift($args);
while ($workspace[0] == '-') {
$workspace = array_shift($args);
if (isset($workspace[0])) {
while ($workspace[0] == '-') {
$workspace = array_shift($args);
}
}
// Get time zone (global or by workspace)