Menu

#2 matches for competions(if season is not the season...)

open
nobody
None
5
2007-10-28
2007-10-28
Stas Fomin
No

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']."'");
}
}
----------------------------------

Discussion


Log in to post a comment.

MongoDB Logo MongoDB