diff --git a/htdocs/core/lib/date.lib.php b/htdocs/core/lib/date.lib.php index 43a28a4b05c..e7043a1798a 100644 --- a/htdocs/core/lib/date.lib.php +++ b/htdocs/core/lib/date.lib.php @@ -969,7 +969,6 @@ function monthArray($outputlangs, $short = 0) * @param int $year Year number * @return array Week numbers */ - function getWeekNumbersOfMonth($month, $year) { $nb_days = cal_days_in_month(CAL_GREGORIAN, $month, $year); diff --git a/htdocs/core/lib/project.lib.php b/htdocs/core/lib/project.lib.php index d7275d3343a..9f55a431147 100644 --- a/htdocs/core/lib/project.lib.php +++ b/htdocs/core/lib/project.lib.php @@ -1727,6 +1727,7 @@ function projectLinesPerWeek(&$inc, $firstdaytoshow, $fuser, $parent, $lines, &$ * @param int $restricteditformytask 0=No restriction, 1=Enable add time only if task is a task i am affected to * @param array $isavailable Array with data that say if user is available for several days for morning and afternoon * @param int $oldprojectforbreak Old project id of last project break + * @param array $Tweek Array of week numbers * @return array Array with time spent for $fuser for each day of week on tasks in $lines and substasks */ function projectLinesPerMonth(&$inc, $firstdaytoshow, $fuser, $parent, $lines, &$level, &$projectsrole, &$tasksrole, $mine, $restricteditformytask, &$isavailable, $oldprojectforbreak = 0, $TWeek = array()) diff --git a/htdocs/projet/activity/permonth.php b/htdocs/projet/activity/permonth.php index 93c1edb6757..398f4c67199 100644 --- a/htdocs/projet/activity/permonth.php +++ b/htdocs/projet/activity/permonth.php @@ -480,7 +480,8 @@ print '