For #3741. Manual migration of commits from master to branch through April 22, 2023.

This commit is contained in:
Steve Ireland
2023-04-27 21:45:13 -04:00
parent 3c931a91e7
commit e7218b2904
5 changed files with 7 additions and 7 deletions

View File

@@ -493,7 +493,7 @@ class Employee extends Person
/**
* Returns the menu group designation that this module is to appear in
*/
public function get_menu_group(string $permission_id, int $person_id): string
public function get_menu_group(string $permission_id, ?int $person_id): string
{
$builder = $this->db->table('grants');
$builder->select('menu_group');