Skip to content

Commit

Permalink
Fix part of #69
Browse files Browse the repository at this point in the history
  • Loading branch information
pboyd04 committed Feb 4, 2020
1 parent 0d93a86 commit b196c28
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions signup.php
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,10 @@ protected function isVolunteerAdmin()

//Is user eligible for shift?
$canDo = $processor->canUserDoRole($profile, $roles[0]);
if(is_array($canDo) && $processor->isAdminForShift($shift, $page->user))
{
$canDo = true;
}
if($canDo !== true)
{
$page->body .= '<div class="alert alert-danger" role="alert">';
Expand Down

0 comments on commit b196c28

Please sign in to comment.