Summary:
Adding points to a newly created map throws an exception in cggm_marker constructor
Detailed Description:
Hi,
since upgrading to CGGoogleMaps 2.2.4 I have noticed that markers can't be added
anymore.
Steps to reproduce are:
- create a new map 123
- click on add marker
- click on add new map point which then results in the exception below
(directories are omitted)
Fatal error: Uncaught exception 'Exception' with message 'Invalid parameters
passed to cggm_marker constructor' in
.../modules/CGGoogleMaps/lib/class.cggm_marker.php:22
Stack trace:
#0 .../modules/CGGoogleMaps/action.admin_addmappoint.php(79):
cggm_marker->__construct(' ', ' ')
#1 .../lib/classes/class.CMSModule.php(1583): include('/homepages/1/d6...')
#2 .../modules/CGExtensions/CGExtensions.module.php(475):
CMSModule->DoAction('admin_addmappoi...', 'm1_', Array, '')
#3 .../lib/classes/class.CMSModule.php(1628):
CGExtensions->DoAction('admin_addmappoi...', 'm1_', Array, '')
#4 .../admin/moduleinterface.php(144):
CMSModule->DoActionBase('admin_addmappoi...', 'm1_', Array)
#5 {main} thrown in .../modules/CGGoogleMaps/lib/class.cggm_marker.php on line
22
Cheers