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

This commit is contained in:
tianshujie
2024-11-04 08:26:08 +08:00
committed by 刘刚
parent 4c3a2e5ea1
commit 117ead900f
+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();