From 0fa896026a65d9c81a6b9f4c342abda06b695f9f Mon Sep 17 00:00:00 2001 From: following Date: Tue, 26 Mar 2013 21:49:56 +0100 Subject: [PATCH] changed child wp name format to a better readable variant --- htdocs/lib/search.gpx.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/lib/search.gpx.inc.php b/htdocs/lib/search.gpx.inc.php index 60ee2107a..a9ee53802 100644 --- a/htdocs/lib/search.gpx.inc.php +++ b/htdocs/lib/search.gpx.inc.php @@ -599,7 +599,7 @@ $thiswp = mb_ereg_replace('{wp_lat}', sprintf('%01.5f', $childWaypoint['latitude']), $thiswp); $thiswp = mb_ereg_replace('{wp_lon}', sprintf('%01.5f', $childWaypoint['longitude']), $thiswp); $thiswp = mb_ereg_replace('{time}', $time, $thiswp); - $thiswp = mb_ereg_replace('{name}', $r['waypoint'].'W'.sprintf($digits,$n) , $thiswp); + $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);