]> wagnertech.de Git - timetracker.git/blobdiff - cf_monthly_quota.php
Refactoring: some renaming.
[timetracker.git] / cf_monthly_quota.php
index 9f0f7df9ee4af432617e26c0cf6dc83d3c27adfa..6b94cfdad97ab4952916a2d49a4b86fb9e6d3ef0 100644 (file)
@@ -56,7 +56,7 @@ if ($request->isPost()){
     $hours = $request->getParameter("dailyWorkingHours");
     $teamDetails = ttTeamHelper::getTeamDetails($quota->usersTeamId);
     $res = ttTeamHelper::update($quota->usersTeamId, array('name'=>$teamDetails['team_name'], 
-                                                           'working_hours'=>$hours));
+                                                           'workday_hours'=>$hours));
   }
   if ($res) {
     header('Location: profile_edit.php');