Skip to content

Commit

Permalink
fixed waypoint type-names in GPX
Browse files Browse the repository at this point in the history
  • Loading branch information
following committed Apr 6, 2013
1 parent e7342ff commit 217b66f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/lib/search.gpx.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 217b66f

Please sign in to comment.