From 01b728700db3398fb189ae3f763ad7c79388bb37 Mon Sep 17 00:00:00 2001 From: diddipoeler Date: Mon, 30 Dec 2024 14:34:05 +0100 Subject: [PATCH] korrektur --- site/models/staff.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/site/models/staff.php b/site/models/staff.php index 630b11983..e3ea10f3f 100644 --- a/site/models/staff.php +++ b/site/models/staff.php @@ -69,8 +69,8 @@ function getPresenceStats($project_id, $person_id) $query->join('INNER', '#__sportsmanagement_match AS m ON mp.match_id = m.id'); $query->join('INNER', '#__sportsmanagement_season_team_person_id AS tp ON tp.id = mp.team_staff_id'); $query->join('INNER', '#__sportsmanagement_project_team AS pt ON m.projectteam1_id = pt.id'); - $query->where('pt.project_id = ' . $projectid); - $query->where('tp.person_id = ' . $personid); + $query->where('pt.project_id = ' . $project_id); + $query->where('tp.person_id = ' . $person_id); $query->where('tp.published = 1');