X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=time.php;h=f7b1c12e7477e837c1d68ec9e63943728da6018c;hb=b7e0a81d78007c097e7860c752f445263683b42b;hp=e4547a949a9a61daaf63936a0ef2a66faec07428;hpb=decf7058c3d2cc57fa2f814f33e7c09b264ff854;p=timetracker.git diff --git a/time.php b/time.php index e4547a94..f7b1c12e 100644 --- a/time.php +++ b/time.php @@ -56,7 +56,7 @@ if ($request->isPost()) { } // End of access checks. -// Determine user for which we display this page. +// Determine user for whom we display this page. if ($request->isPost() && $userChanged) { $user_id = $request->getParameter('user'); $user->setOnBehalfUser($user_id); @@ -347,7 +347,7 @@ if ($request->isPost()) { } elseif ($request->getParameter('btn_stop')) { // Stop button pressed to finish an uncompleted record. $record_id = $request->getParameter('record_id'); - $record = ttTimeHelper::getRecord($record_id, $user_id); + $record = ttTimeHelper::getRecord($record_id); $browser_date = $request->getParameter('browser_date'); $browser_time = $request->getParameter('browser_time');