Merge remote-tracking branch 'football/master'
# Conflicts: # acp/matches_module.php # adm/style/acp_football_leagues.html # adm/style/acp_football_matches.html # block/all_bets.php # block/rank_matchday.php # block/ranks_total.php # config/services.yml # controller/main.php # event/main_listener.php # includes/constants.php # includes/functions.php # language/de/football.php # language/de/info_acp_leagues.php # language/de/info_acp_matches.php # styles/prosilver/template/all_bets.html # styles/prosilver/template/results.html # styles/prosilver/template/table.html # styles/prosilver/theme/football.css
This commit is contained in:
@@ -56,7 +56,7 @@ class leagues_module
|
||||
$form_key = 'acp_football_leagues';
|
||||
add_form_key($form_key);
|
||||
|
||||
include($phpbb_root_path . 'includes/functions_user.' . $phpEx);
|
||||
include_once($phpbb_root_path . 'includes/functions_user.' . $phpEx);
|
||||
|
||||
// Check and set some common vars
|
||||
$action = (isset($_POST['add'])) ? 'add' : ((isset($_POST['addmembers'])) ? 'addmembers' : $this->request->variable('action', ''));
|
||||
@@ -693,7 +693,7 @@ class leagues_module
|
||||
|
||||
$template->assign_vars(array(
|
||||
'U_ACTION' => $this->u_action,
|
||||
'U_FOOTBALL' => $helper->route('football_main_controller',array('side' => 'bet', 's' => $season)),
|
||||
'U_FOOTBALL' => $helper->route('football_football_controller',array('side' => 'bet', 's' => $season)),
|
||||
'S_SEASON' => $season,
|
||||
'S_SEASON_OPTIONS' => $season_options,
|
||||
'S_LEAGUE_ADD' => true,
|
||||
@@ -711,8 +711,8 @@ class leagues_module
|
||||
FROM ' . FOOTB_LEAGUES . ' AS l
|
||||
LEFT JOIN ' . FOOTB_BETS . " AS b ON (b.season = l.season AND b.league = l.league)
|
||||
WHERE l.season = $season
|
||||
GROUP BY league
|
||||
ORDER BY league ASC";
|
||||
GROUP BY l.league
|
||||
ORDER BY l.league ASC";
|
||||
$result = $db->sql_query($sql);
|
||||
$rows_leagues = $db->sql_fetchrowset($result);
|
||||
$db->sql_freeresult($result);
|
||||
@@ -751,4 +751,3 @@ class leagues_module
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user