Ignore:
Timestamp:
Apr 18, 2010, 10:48:06 AM (16 years ago)
Author:
janveeden
Message:

The famous markers placed in the sea were giving problems on giving info. Fixed now.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/map/inc/node_info.php

    r7821 r7823  
    5050foreach($markers as $marker)
    5151{
    52         if($marker['name'] == $_GET['name'])
     52        if(!$marker['location'] == null)
    5353        {
    54                 $name = $marker['name'];
    55                 $location = $marker['location'];
     54                if($marker['name'] == $_GET['name'])
     55                {
     56                        $name = $marker['name'];
     57                        $location = $marker['location'];
     58                }
    5659        }
    5760}
Note: See TracChangeset for help on using the changeset viewer.