bug in osm json plugin fixed

This commit is contained in:
surrim 2020-03-11 02:05:24 +01:00
parent d30bb5cb02
commit 53bcc1520a

View file

@ -61,7 +61,7 @@
JOIN {$serendipity['dbPrefix']}entries e ON e.id = ec.entryid
JOIN {$serendipity['dbPrefix']}entryproperties eplat ON (eplat.entryid = ec.entryid AND eplat.property = 'geo_lat')
JOIN {$serendipity['dbPrefix']}entryproperties eplng ON (eplng.entryid = ec.entryid AND eplng.property = 'geo_long')
WHERE e.isdraft = 'false'"
WHERE e.isdraft = 'false' $andFutureCondition"
) as $row) {
$entries[$row['entryid']]['categories'][] = $row['categoryid'];
}