All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit c0bad738 authored by Leigh B Stoller's avatar Leigh B Stoller

Minor bug fix.

parent 14dad342
......@@ -1029,7 +1029,7 @@ sub HasActualPrivilege($$)
my ($self, $p) = @_;
return 0
if (!exists($self->{'capabilities'}));
if (!defined($self->{'capabilities'}));
return exists($self->{'capabilities'}->{$p}) ? 1 : 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment