Skip to content

Commit

Permalink
Fix approval in header
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesread committed Jan 11, 2025
1 parent 0dc8bb1 commit 4d766c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/includes/widgets/header.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
$tpl->assign('username', Session::getUser()->getUsername());

if (Session::getUser()->hasPriv('APPROVE_QUOTES')) {
$tpl->assign('hasApprovalPermissions', getCountApprovals());
$tpl->assign('hasApprovalPermissions', true);
$tpl->assign('countApprovals', getCountApprovals());
}
}
Expand Down

0 comments on commit 4d766c1

Please # to comment.