Skip to content
Snippets Groups Projects
Commit dc5ba86e authored by Brandon Bergren's avatar Brandon Bergren
Browse files

#398272 by jmpoure: Fix PostgreSQL support in gmap_location.

parent f63955cb
No related branches found
No related tags found
No related merge requests found
......@@ -130,7 +130,9 @@ function gmap_location_user_page() {
AND
(l.latitude != 0 OR l.longitude != 0)
GROUP BY
i.uid, i.lid");
i.uid, i.lid, u.name, l.latitude, l.longitude");
// The u.name, l.latitude, and l.longitude in the GROUP BY are needed for
// PostgreSQL.
while ($row = db_fetch_object($result)) {
// Determine marker type to show.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment