* [feedback#7544,done,0.5h] fix weekend config error.

This commit is contained in:
tianshujie
2024-11-01 16:15:15 +08:00
committed by 刘梦艺
parent eaa57b5600
commit e7abde11fe
+1 -1
View File
@@ -199,7 +199,7 @@ class holidayModel extends model
/* Get holidays, working days and weekend days .*/
$holidays = $this->getHolidays($begin, $end);
$workingDays = $this->getWorkingDays($begin, $end);
$weekend = isset($this->config->project->weekend) ? $this->config->project->weekend : 2;
$weekend = isset($this->config->execution->weekend) ? $this->config->execution->weekend : 2;
/* When the start date and end date are the same. */
$actualDays = array();