Changeset 25


Ignore:
Timestamp:
Sep 11, 2019, 12:13:03 AM (5 years ago)
Author:
chronos
Message:
  • Fixed: Load items for synchronization separately for single, teams and families.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/index.php

    r24 r25  
    262262        ));
    263263      } else
     264      if ($Item['Type'] == '')
    264265      {
    265         echo('Unsupported type '.$Item['Type'].'. ');
     266        // Skip empty type
     267      } else
     268      {
     269        echo('Unsupported type "'.$Item['Type'].'".<br/>');
    266270      }
    267271    }
     
    274278  {
    275279    $Time = time();
    276     $Items = $this->QueryRunnersAll();
     280    $Items = $this->QueryRunnersAll('teams');
     281    $Items = array_merge($Items, $this->QueryRunnersAll('families'));
     282    $Items = array_merge($Items, $this->QueryRunnersAll(''));
    277283    $ItemsWithoutProgress = array();
    278284    foreach ($Items as $Item)
     
    761767  {
    762768    $Output = '';
    763     $Output .= '<p>This website collects data from offical <a href="'.$this->LeaderboardURL.'">leaderboard</a> site and tracks and presents progress of runners.</p>';
     769    $Output .= '<p>This website collects data from official <a href="'.$this->LeaderboardURL.'">leaderboard</a> site and tracks and presents progress of runners and teams.</p>';
    764770    $Output .= '<div class="page-title">Summary</div>';
    765771    $Year = $this->GetYear();
Note: See TracChangeset for help on using the changeset viewer.