Summary:
insert company fails if lat long is not entered
Detailed Description:
Hi,
I installed on cmsms 1.66 When i tried to add a company, it says it suceeds,
but there is no company in the table. I added some debug and found this
QUERY: INSERT INTO cms_module_compdir_companies (company_name, address,
telephone, fax, contact_email, website, details, picture_location,
logo_location, create_date, modified_date, status, latitude, longitude) VALUES
('Air East
Airways','','631-756-5500','631-756-5527','maureen@aireast.com','www.aireast.com','test','','','2009-10-15
22:30:22','2009-10-15 22:30:22','published','','')
ERROR: Data truncated for column 'latitude' at row 1
i then tried to add and put 0.0 in both lat and long and found that the company
added properly.
seems like a bug