Bug 57482

git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@612 6955db30-a419-402b-8a0d-67ecbb4d7f56
master
vfilippov 2009-12-29 12:45:07 +00:00
parent 2bd5f4c35b
commit 4eacafc0b5
1 changed files with 1 additions and 0 deletions

View File

@ -46,6 +46,7 @@ sub add
my $role = shift;
for (@_)
{
$_ || next;
if ($self->{cl}->{$_->id})
{
$self->{cl}->{$_->id}->[1] = $role if $roleindex{$self->{cl}->{$_->id}->[1]} < $roleindex{$role};