[Plugin: LeagueManager] Previous match in team template (4 posts)

  1. aledan
    Posted 5 years ago #

    Hello. I have a little problem with team view.

    In the previous match box, I always get first match of the season. Not just the last match played.

    Instead, for the next match box, I have no problem?

    Where is the problem? Thanks


  2. beveraii
    Posted 5 years ago #

    Yup, same problem here :-(

  3. garycekusdesign
    Posted 5 years ago #

    okay after some advice I think I got it to work by doing the following:

    Open shortcode.php in the lib folder

    change the following line of code:

    $prev_match = $prev_matches[0];


    $prev_match = end($prev_matches);

    I've only tested it a few times and it seems to be working, as always make a backup of your files before testing this...

  4. aledan
    Posted 5 years ago #

    Work perfect for me.

    Also in rc3 release. This bug seems not resolved yet.

    Thanks a lot!

Topic Closed

This topic has been closed to new replies.

About this Topic