* Finish task #93598.
This commit is contained in:
@@ -130,7 +130,7 @@
|
||||
</td>
|
||||
<?php
|
||||
/* Remove LONG_TIME item when no multiple project. */
|
||||
if(empty($project->multiple)) unset($lang->project->endList[999]);
|
||||
if(empty($project->multiple) && $project->end != LONG_TIME) unset($lang->project->endList[999]);
|
||||
$deltaValue = $project->end == LONG_TIME ? 999 : (strtotime($project->end) - strtotime($project->begin)) / 3600 / 24 + 1;
|
||||
?>
|
||||
<td id="endList" colspan='2'><?php echo html::radio('delta', $lang->project->endList, $deltaValue, "onclick='computeEndDate(this.value)'");?></td>
|
||||
|
||||
Reference in New Issue
Block a user