for ($i = 0; $i < count($months); $i++){
$quota_in_minutes = ttTimeHelper::postedDurationToMinutes($request->getParameter($months[$i]), 44640/*24*60*31*/);
if (!$quota->update($selectedYear, $i+1, $quota_in_minutes))
for ($i = 0; $i < count($months); $i++){
$quota_in_minutes = ttTimeHelper::postedDurationToMinutes($request->getParameter($months[$i]), 44640/*24*60*31*/);
if (!$quota->update($selectedYear, $i+1, $quota_in_minutes))