diff --git a/db/libdb.pm.in b/db/libdb.pm.in index 3f6c931e0dc6eafbeeb68aacfadd6cb5e7e49c53..a12f05d67e35e63833741b3b0c93431a2e1a0fa3 100644 --- a/db/libdb.pm.in +++ b/db/libdb.pm.in @@ -975,7 +975,7 @@ sub TBProjAccessCheck($$$$) # # Must map to an existing user to be trusted, obviously. # - my $target_user = User->Lookup($uid); + my $target_user = User->LookupByUnixId($uid); return 0 if (! defined($target_user)); @@ -1001,7 +1001,7 @@ sub TBExptAccessCheck($$$$) # # Must map to an existing user to be trusted, obviously. # - my $target_user = User->Lookup($uid); + my $target_user = User->LookupByUnixId($uid); return 0 if (! defined($target_user)); @@ -1028,7 +1028,7 @@ sub TBNodeAccessCheck($$@) # # Must map to an existing user to be trusted, obviously. # - my $target_user = User->Lookup($uid); + my $target_user = User->LookupByUnixId($uid); return 0 if (! defined($target_user)); return 1