X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/5e861d92d6d758ba4888e35109cc6df4ab5e2df1..2f8a9f1fb0051c27a7235ef42af6502782cf2f83:/time.php diff --git a/time.php b/time.php index 258f15c1..9e6be9a8 100644 --- a/time.php +++ b/time.php @@ -107,7 +107,7 @@ $_SESSION['task'] = $cl_task; // Elements of timeRecordForm. $form = new Form('timeRecordForm'); -if (defined('SUBGROUP_DEBUG') && isTrue(SUBGROUP_DEBUG)) { +if (isTrue(SUBGROUP_DEBUG)) { if ($user->can('manage_subgroups')) { $groups = $user->getGroups(); if (count($groups) > 1) { @@ -313,6 +313,7 @@ if ($request->isPost()) { 'date' => $cl_date, 'user_id' => $user->getActiveUser(), 'group_id' => $user->getActiveGroup(), + 'org_id' => $user->org_id, 'client' => $cl_client, 'project' => $cl_project, 'task' => $cl_task,