Started to populate org_id in tt_log and tt_invoices tables.
[timetracker.git] / time.php
index 258f15c..68aaf40 100644 (file)
--- a/time.php
+++ b/time.php
@@ -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,