Index: openacs-4/packages/project-manager/templates/task-ae.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/project-manager/templates/task-ae.tcl,v diff -u -r1.7 -r1.8 --- openacs-4/packages/project-manager/templates/task-ae.tcl 30 Jan 2006 11:17:21 -0000 1.7 +++ openacs-4/packages/project-manager/templates/task-ae.tcl 10 May 2006 18:51:42 -0000 1.8 @@ -484,13 +484,12 @@ } } - if {$estimated_hours_work_min > $estimated_hours_work_max} { - set temp $estimated_hours_work_max - set estimated_hours_work_max $estimated_hours_work_min - set estimated_hours_work_min $temp - } - if {[string is true $use_uncertain_completion_times_p]} { + if {$estimated_hours_work_min > $estimated_hours_work_max} { + set temp $estimated_hours_work_max + set estimated_hours_work_max $estimated_hours_work_min + set estimated_hours_work_min $temp + } set estimated_hours_work [expr .5 * ($estimated_hours_work_max - $estimated_hours_work_min) + $estimated_hours_work_min] } else { set estimated_hours_work_min $estimated_hours_work