summaryrefslogtreecommitdiff
path: root/includes/controller/users_controller.php
diff options
context:
space:
mode:
authormsquare <msquare@notrademark.de>2017-12-29 19:06:23 +0100
committerGitHub <noreply@github.com>2017-12-29 19:06:23 +0100
commit372f474dbcf7524cc10aff0be0bb39c1a90df1f4 (patch)
tree3870eaeaa468caeee9c24f63f0f942a7548aba3b /includes/controller/users_controller.php
parent14584b96114d2fcb0dabe49a9c857ff241421cc8 (diff)
parent4579509b0e21d33ae27ecb5910fdc1d31b1e027a (diff)
Merge pull request #407 from engelsystem/feature-work-log
Feature work log
Diffstat (limited to 'includes/controller/users_controller.php')
-rw-r--r--includes/controller/users_controller.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/includes/controller/users_controller.php b/includes/controller/users_controller.php
index a2a28410..c763cd48 100644
--- a/includes/controller/users_controller.php
+++ b/includes/controller/users_controller.php
@@ -242,7 +242,9 @@ function user_controller()
$shifts,
$user['UID'] == $user_source['UID'],
$tshirt_score,
- in_array('admin_active', $privileges)
+ in_array('admin_active', $privileges),
+ in_array('admin_user_worklog', $privileges),
+ UserWorkLogsForUser($user_source)
)
];
}