• Hi,

    Can I get you to change:

    leaguemanager/sports/irish-gaelic-football.php

    // This causes problems when the home team has 0 points, in DB home team score set to 0, away team has a score. Played is 1 less for both teams.
    //if ( empty($score[‘home’]) ) $score[‘home’] = ‘NULL’;
    //if ( empty($score[‘away’]) ) $score[‘away’] = ‘NULL’;

    // This will set both to null if the game has not been played… ie. Works when the home score = 0
    if(empty($num_goals[‘home’]) && empty($num_points[‘home’]) && empty($num_goals[‘away’]) && empty($num_points[‘away’]))
    {
    $score[‘home’] = ‘NULL’;
    $score[‘away’] = ‘NULL’;
    }

    https://wordpress.org/plugins/leaguemanager/

  • The topic ‘Bug in Irish Gaelic Football plugin fix included’ is closed to new replies.