HOR-4547: Routing: Value Based Assignment
PHP Notice: Array to string conversion in /srv/http/processmaker/workflow/engine/classes/Derivation.php on line 1759
This commit is contained in:
@@ -1755,8 +1755,11 @@ class Derivation
|
|||||||
} else {
|
} else {
|
||||||
$userInstance = $user;
|
$userInstance = $user;
|
||||||
}
|
}
|
||||||
if (is_string($user)) {
|
if (!is_object($userInstance)) {
|
||||||
throw new Exception("The user with the UID " . $user . " doesn't exist.");
|
if (!is_string($user)) {
|
||||||
|
$user = gettype($user);
|
||||||
|
}
|
||||||
|
throw new Exception("The user with the UID '" . $user . "' doesn't exist.");
|
||||||
}
|
}
|
||||||
if ($userInstance->getUsrStatus() == 'ACTIVE') {
|
if ($userInstance->getUsrStatus() == 'ACTIVE') {
|
||||||
return $userInstance->getUsrUid();
|
return $userInstance->getUsrUid();
|
||||||
|
|||||||
Reference in New Issue
Block a user