matches for competions(if season is not the season...)
Brought to you by:
djayp
Not shows matches for competions if season (by default last season) is not the season for the matches
In file:
match\match_list.php
Need to replace line 164:
----------------------------------
if(isset($page['value_season']) AND !empty($page['value_season'])) {
array_push($condition," season_id='".$page['value_season']."'");
}
----------------------------------
by
----------------------------------
if(!(isset($page['value_competition']) AND !empty($page['value_competition']))) {
if(isset($page['value_season']) AND !empty($page['value_season'])) {
array_push($condition," season_id='".$page['value_season']."'");
}
}
----------------------------------