Closed (duplicate)
Project:
GMap Addons
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Mar 2008 at 18:13 UTC
Updated:
30 Sep 2008 at 21:56 UTC
I get the following error for a site running Apache 2 and PHP 4.4.8
Parse error: syntax error, unexpected '=', expecting ')' in /www/httpdocs/sites/all/modules/gmap_addons/gmap_overlays/gmap_overlays.module on line 14
I don't think it's allowed to set a referenced variable to a default value in the function declaration.
Replacing the &$map=NULL with &$map results in a missing argument error on line 14, unsurprisingly.
Drew
Comments
Comment #1
bdragon commentedDuplicate of #186744: Parse error: syntax error, unexpected '=', expecting ')'.