[GOOGLE MAP 0.5.0c] - Autocenter Option Setting Error

LFrank

Joined: 2005-02-19
Posts: 1023
Posted: Fri, 2006-02-24 08:44

tying to enable the "Center On" Feature
[img]http://gallery.menalto.com/files/autocenter1.jpg[/img]

ends after pressing save in the following error:
[img]http://gallery.menalto.com/files/autocenter2.jpg[/img]

Gallery version = 2.1-rc-1a core 1.0.29
PHP version=5.1.2 apache2handler
Webserver=Apache/2.2.0 (Win32) DAV/2 PHP/5.1.1 mod_ssl/2.2.0 OpenSSL/0.9.8a
Database=mysql 5.0.18-nt-log
Gallery-URL=http://lf-photodesign.de

AttachmentSize
autocenter1.jpg40.07 KB
autocenter2.jpg108.77 KB
 
Termitenshort
Termitenshort's picture

Joined: 2005-10-09
Posts: 1894
Posted: Sat, 2006-02-25 16:49

This fell throuigh the crack ... I didn't see your message. Sorry.

Anyway, this is a bug and I fixed it, if you want to fix it yourself (a.k.a before I release the next version):

In MapSiteAdmin.inc

Line 65 and 67 start with } elseif (isset($form
Just change them fo } elseif (!isset($form

That's it ! :-)
-------------------------
The Termite :-)

 
LFrank

Joined: 2005-02-19
Posts: 1023
Posted: Sat, 2006-02-25 17:00

kewl :)

Many Thanks

Gallery version = 2.1-rc-1a core 1.0.29
PHP version=5.1.2 apache2handler
Webserver=Apache/2.2.0 (Win32) DAV/2 PHP/5.1.1 mod_ssl/2.2.0 OpenSSL/0.9.8a
Database=mysql 5.0.18-nt-log
Gallery-URL=http://lf-photodesign.de