CPHDH / Curatescape

A set of add-ons for the Omeka content management system, designed specifically for location-based narrative content, and compatible with (optional) paid Curatescape mobile applications.

Home Page:https://curatescape.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Map Pins not appearing on map with php 5.3.3

joe-e-brown opened this issue · comments

browse.mjson.php.patch.txt
I maintain an omeka 2.5 blog which features a map with multiple pins on the front page.
Those pins don't appear when I upgrade curatescapejson to the version on the master branch.
the issue appears to be line 118 in the file CuratescapeJSON/views/shared/items/browse.mjson.php.
The following code fails to run: $postProcessed = [];
After replacing it with this line: $postProcessed = array();
Curatescape JSON works properly & map pins are displayed.
This work son both php 5.4.16 and 5.3.3

I have made a mistake.
This should've been created under CPHDH/CuratescapeJSON, not under CPHDH/Curatescape.
I'll fix this promptly.

I see this is the only place for issues. Reopening issue.

browse.mjson.php.patch.txt

This patch edited for viewing on Microsoft platform.