Show
Ignore:
Timestamp:
09/06/10 16:05:28 (21 months ago)
Author:
spf
Message:

stricter check for boats in race (addeddum to [1757])

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/lib/phpcommon/races.class.php

    r1788 r1789  
    668668 
    669669      // N'entrent dans les tableaux que les bateaux effectivement en course 
    670       if ( !array_key_exists('nwp',$row) || ($row['nwp'] == 0 ) || ($row['nwp'] == "")) { 
     670      if ( !array_key_exists('nwp',$row) || ($row['dnm'] == 0.0) && ($row['loch'] == 0.0)) { 
    671671          continue; 
    672672      }