okapi r798

This commit is contained in:
following
2013-05-12 21:53:01 +02:00
parent 1fc7988e78
commit db0d2e6850
2 changed files with 2 additions and 3 deletions

View File

@ -799,7 +799,7 @@ class Okapi
{
public static $data_store;
public static $server;
public static $revision = 796; # This gets replaced in automatically deployed packages
public static $revision = 798; # This gets replaced in automatically deployed packages
private static $okapi_vars = null;
/** Get a variable stored in okapi_vars. If variable not found, return $default. */

View File

@ -868,7 +868,7 @@ class WebService
$cacheid2waypoints = Db::select_group_by("cache_id", "
select
cache_id,
@stage := @stage + 1 as stage,
false as stage,
latitude, longitude,
description as `desc`,
subtype as internal_type_id,
@ -888,7 +888,6 @@ class WebService
else 'other'
end as okapi_type
from coordinates
join (select @stage := 0) s
where
type = 1
and cache_id in (".$cache_codes_escaped_and_imploded.")