Skip to content
Snippets Groups Projects
Commit bea6887f authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Merge pull request #1444 from atm-alexis/3.5

debug planned_workload loosing value on error
parents ba905659 9de372d4
No related branches found
No related tags found
No related merge requests found
...@@ -314,7 +314,7 @@ if ($action == 'create' && $user->rights->projet->creer && (empty($object->socie ...@@ -314,7 +314,7 @@ if ($action == 'create' && $user->rights->projet->creer && (empty($object->socie
// planned workload // planned workload
print '<tr><td>'.$langs->trans("PlannedWorkload").'</td><td>'; print '<tr><td>'.$langs->trans("PlannedWorkload").'</td><td>';
print $form->select_duration('planned_workload',$object->planned_workload,0,'text'); print $form->select_duration('planned_workload', $planned_workload?$planned_workload : $object->planned_workload,0,'text');
print '</td></tr>'; print '</td></tr>';
// Progress // Progress
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment