diff options
author | ivan <ivan> | 2004-11-11 12:13:50 +0000 |
---|---|---|
committer | ivan <ivan> | 2004-11-11 12:13:50 +0000 |
commit | b8cfd0780aa40bb07f3215bf9cb58011f5e32a35 (patch) | |
tree | 5b5deb6f64cf6eb9f4630675725b59e7bfad137a /rt/lib/RT/ACL_Overlay.pm | |
parent | 0a2e57727e8f00fdc8ec4596619fb206c95fa919 (diff) | |
parent | c582e92888b4a5553e1b4e5214cf35217e4a0cf0 (diff) |
This commit was generated by cvs2svn to compensate for changes in r3874,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'rt/lib/RT/ACL_Overlay.pm')
-rw-r--r-- | rt/lib/RT/ACL_Overlay.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rt/lib/RT/ACL_Overlay.pm b/rt/lib/RT/ACL_Overlay.pm index 977577697..bb69a20f4 100644 --- a/rt/lib/RT/ACL_Overlay.pm +++ b/rt/lib/RT/ACL_Overlay.pm @@ -119,11 +119,11 @@ sub LimitToPrincipal { # lead me to start to suspect that we really want users and groups # to just be the same table. or _maybe_ that we want an object db. my $princ = RT::Principal->new($RT::SystemUser); - $princ->Load($args{'PrincipalId'}); + $princ->Load($args{'Id'}); if ($princ->PrincipalType eq 'User') { my $group = RT::Group->new($RT::SystemUser); $group->LoadACLEquivalenceGroup($princ); - $args{'PrincipalId'} = $group->PrincipalId; + $args{'Id'} = $group->PrincipalId; } $self->Limit( FIELD => 'PrincipalId', OPERATOR => '=', |