BUG 7142 unable to reassign task to ad-hoc user via web-services function
This issue was fixed, it was asking if it has right in an array that returned a true value when it was false
This commit is contained in:
@@ -1884,7 +1884,7 @@ class wsBase
|
||||
$tasUid = $aRow['TAS_UID'];
|
||||
$derivation = new Derivation ();
|
||||
$userList = $derivation->getAllUsersFromAnyTask( $tasUid );
|
||||
if ( ! in_array ( $userIdTarget, $userList ) ) {
|
||||
if ( in_array ( $userIdTarget, $userList ) ) {
|
||||
$result = new wsResponse (34, "The target user does not have rights to execute the task " );
|
||||
return $result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user