projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
import of rt 3.0.9
[freeside.git]
/
rt
/
lib
/
RT
/
Queue_Overlay.pm
diff --git
a/rt/lib/RT/Queue_Overlay.pm
b/rt/lib/RT/Queue_Overlay.pm
index
4eb265f
..
fcc185b
100644
(file)
--- a/
rt/lib/RT/Queue_Overlay.pm
+++ b/
rt/lib/RT/Queue_Overlay.pm
@@
-327,7
+327,7
@@
sub Load {
$self->SUPER::LoadById($identifier);
}
else {
$self->SUPER::LoadById($identifier);
}
else {
- $self->LoadByCol
( "Name",
$identifier );
+ $self->LoadByCol
s( Name =>
$identifier );
}
return ( $self->Id );
}
return ( $self->Id );
@@
-866,8
+866,11
@@
sub IsWatcher {
my $principal = RT::Principal->new($self->CurrentUser);
$principal->Load($args{'PrincipalId'});
my $principal = RT::Principal->new($self->CurrentUser);
$principal->Load($args{'PrincipalId'});
+ unless ($principal->Id) {
+ return (undef);
+ }
- return ($group->HasMember($principal));
+ return ($group->HasMember
Recursively
($principal));
}
# }}}
}
# }}}