mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-07-12 07:56:34 -04:00
For #3741. Manual migration of commits from master to branch through April 22, 2023.
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user