Skip to content
Permalink
Browse files

fixed waypoint type-names in GPX

  • Loading branch information...
following
following committed Apr 6, 2013
1 parent e7342ff commit 217b66f74310da6184da77d15bcb6bb462c40568
Showing with 1 addition and 1 deletion.
  1. +1 −1 htdocs/lib/search.gpx.inc.php
@@ -602,7 +602,7 @@
$thiswp = mb_ereg_replace('{name}', $r['waypoint'].'-'.sprintf($digits,$n) , $thiswp);
$thiswp = mb_ereg_replace('{cachename}', xmlentities($r['name']), $thiswp);
$thiswp = mb_ereg_replace('{comment}',xmlentities($childWaypoint['description']), $thiswp);
$thiswp = mb_ereg_replace('{desc}', $translate->t('Waypoint','','',0).' '.$n, $thiswp);
$thiswp = mb_ereg_replace('{desc}', xmlentities($childWaypoint['name']), $thiswp);
switch ($childWaypoint['type'])
{
case 1: $wp_typename = "Parking Area"; break; // well-known garmin symbols

0 comments on commit 217b66f

Please sign in to comment.
You can’t perform that action at this time.