X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/a97edb0f5cfcf62419cd98eb3cc0fc415eaab319..9763bf0359b70369021d6f9b12b6e6cc9c0939f5:/work_units.php diff --git a/work_units.php b/work_units.php index 84ef37e0..e4d198d5 100644 --- a/work_units.php +++ b/work_units.php @@ -48,8 +48,8 @@ if ($request->isPost()) { $cl_1st_unit_threshold = $request->getParameter('1st_unit_threshold'); $cl_totals_only = $request->getParameter('totals_only'); } else { - $cl_minutes_in_unit = $user->getConfigInt('minutes_in_unit'); - $cl_1st_unit_threshold = $user->getConfigInt('1st_unit_threshold'); + $cl_minutes_in_unit = $user->getConfigInt('minutes_in_unit', 15); + $cl_1st_unit_threshold = $user->getConfigInt('1st_unit_threshold', 0); $cl_totals_only = $user->getConfigOption('unit_totals_only'); }