PMCORE-3527-A

This commit is contained in:
Andrea Adamczyk
2021-11-16 14:02:31 -04:00
parent 6fb33dc258
commit f35b2d048f

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)