Changeset 2903

Show
Ignore:
Timestamp:
01/22/12 10:50:24 (4 months ago)
Author:
paparazzia
Message:

fix #665

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/site/mercator.img.php

    r2184 r2903  
    148148     
    149149    if ( $list == "mylist" ) { 
    150       $list = explode ("," , getUserPref($boat,"mapPrefOpponents") );  
     150      $list = explode ("," , getUserPref($boat,"mapPrefOpponents") ); 
    151151      //print_r($list); 
    152152    } 
    153      
     153    if (!in_array($boat, $list))  array_push($list, $boat); 
     154    
    154155     
    155156    // Le pas de temps du vent