From cb6761097e2ab0f6a1ae69ad938b9e6a66e93c00 Mon Sep 17 00:00:00 2001 From: diddipoeler Date: Fri, 14 Apr 2023 17:43:05 +0200 Subject: [PATCH] tabletennis --- admin/models/jlextindividualsport.php | 1 + site/views/roster/tmpl/default_players_tabletennis.php | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/admin/models/jlextindividualsport.php b/admin/models/jlextindividualsport.php index e8631a2182..ae7f70fee2 100644 --- a/admin/models/jlextindividualsport.php +++ b/admin/models/jlextindividualsport.php @@ -116,6 +116,7 @@ public static function getmatchsingle_rowshome($project_id = 0, $projectteam_id { $app->enqueueMessage(Text::sprintf('COM_SPORTSMANAGEMENT_DATABASE_ERROR_FUNCTION_FAILED', $e->getCode(), $e->getMessage()), 'error'); $app->enqueueMessage(Text::sprintf('COM_SPORTSMANAGEMENT_FILE_ERROR_FUNCTION_FAILED', __FILE__, __LINE__), 'error'); +$app->enqueueMessage(' query
'.print_r($query->dump(),true).'
', 'error'); } return $result; diff --git a/site/views/roster/tmpl/default_players_tabletennis.php b/site/views/roster/tmpl/default_players_tabletennis.php index 5a06a91367..dfa4306789 100644 --- a/site/views/roster/tmpl/default_players_tabletennis.php +++ b/site/views/roster/tmpl/default_players_tabletennis.php @@ -157,8 +157,8 @@ * projectteam_id * project_id */ - $single_matches_home = sportsmanagementModeljlextindividualsport::getmatchsingle_rowshome($row->project_id , $row->rojectteam_id , $row->season_team_person_id, 'SINGLE', 'HOME'); - $single_matches_away = sportsmanagementModeljlextindividualsport::getmatchsingle_rowshome($row->project_id , $row->rojectteam_id , $row->season_team_person_id, 'SINGLE', 'AWAY'); + $single_matches_home = sportsmanagementModeljlextindividualsport::getmatchsingle_rowshome($row->project_id , $row->projectteam_id , $row->season_team_person_id, 'SINGLE', 'HOME'); + $single_matches_away = sportsmanagementModeljlextindividualsport::getmatchsingle_rowshome($row->project_id , $row->projectteam_id , $row->season_team_person_id, 'SINGLE', 'AWAY'); if ( Factory::getConfig()->get('debug') ) { echo __METHOD__ . ' ' . ' ' . __LINE__ . ' ' . ' matches home
'.print_r($single_matches_home,true).'
';