From 117ead900f75ab0fb720fe07d72a85f295e28be7 Mon Sep 17 00:00:00 2001 From: tianshujie Date: Fri, 1 Nov 2024 16:14:05 +0800 Subject: [PATCH] * [feedback#7544,done,0.5h] fix weekend config error. --- module/holiday/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/holiday/model.php b/module/holiday/model.php index 07e91f4290..558951c4e8 100644 --- a/module/holiday/model.php +++ b/module/holiday/model.php @@ -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();