projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed adding custom role with org_id field population.
[timetracker.git]
/
role_add.php
diff --git
a/role_add.php
b/role_add.php
index
c8df24c
..
cb3d6f4
100644
(file)
--- a/
role_add.php
+++ b/
role_add.php
@@
-63,6
+63,7
@@
if ($request->isPost()) {
// Insert a role with default user rights.
if (ttRoleHelper::insert(array(
'group_id' => $user->group_id,
+ 'org_id' => $user->org_id,
'name' => $cl_name,
'rank' => $cl_rank,
'description' => $cl_description,