* Fix bug 25876.

This commit is contained in:
liuyongkai
2022-08-03 03:29:12 +00:00
parent 42f9f1d561
commit eac5c92fde
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -91,7 +91,7 @@
<th><?php echo $lang->execution->days;?></th>
<td>
<div class='input-group'>
<?php echo html::input('days', (isset($plan) && !empty($plan->begin) ? helper::workDays($plan->begin, $plan->end) : ''), "class='form-control'");?>
<?php echo html::input('days', (isset($plan) && !empty($plan->begin) ? (helper::workDays($plan->begin, $plan->end) + 1) : ''), "class='form-control'");?>
<span class='input-group-addon'><?php echo $lang->execution->day;?></span>
</div>
</td><td></td><td></td>