fixed waypoint order
This commit is contained in:
@ -71,6 +71,6 @@
|
||||
define('NEW_DATA_LICENSE_ACTIVELY_DECLINED',1); // declined license
|
||||
define('NEW_DATA_LICENSE_ACTIVELY_ACCEPTED',2); // accepted new license on registration
|
||||
define('NEW_DATA_LICENSE_PASSIVELY_ACCEPTED',3); // did not decline license until deadline
|
||||
define('NEW_DATA_LICENSE_PASSIVELY_DECLINED',4); // could accept/decline because disabled
|
||||
define('NEW_DATA_LICENSE_PASSIVELY_DECLINED',4); // could not accept/decline because disabled
|
||||
|
||||
?>
|
@ -52,7 +52,7 @@ class ChildWp_Handler
|
||||
$type2 = Coordinate_Type::UserNote;
|
||||
else
|
||||
$type2 = 0;
|
||||
$rs = sql("SELECT id, cache_id, type, subtype, latitude, longitude, description FROM coordinates WHERE cache_id = &1 AND type IN (&2,&3) AND (type='&2' OR (user_id='&4' and latitude!=0 and longitude!=0))", $cacheid, Coordinate_Type::ChildWaypoint, $type2, $login->userid);
|
||||
$rs = sql("SELECT id, cache_id, type, subtype, latitude, longitude, description FROM coordinates WHERE cache_id = &1 AND type IN (&2,&3) AND (type='&2' OR (user_id='&4' and latitude!=0 and longitude!=0)) ORDER BY id", $cacheid, Coordinate_Type::ChildWaypoint, $type2, $login->userid);
|
||||
$ret = array();
|
||||
|
||||
while ($r = sql_fetch_array($rs))
|
||||
|
Reference in New Issue
Block a user