okapi r798
This commit is contained in:
@ -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. */
|
||||
|
@ -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.")
|
||||
|
Reference in New Issue
Block a user