Fix for Contact form in JomClassifieds 3.5.1

Fix for Contact form in JomClassifieds 3.5.1 was created by Super User

Hi,

Solution for the Contact Advertiser issue when upgraded to JomClassifieds 3.5.1

Kindly find the below file,

FTP --> Root --> components --> com_jomclassifieds --> controller.php

find the below code :
$item->email = $app->input->get('email');
Replace the below code :
$item->email = $app->input->get('email','','STR');

find the below code :
$item->name = $app->input->get('name');
Replace the below code :
$item->name = $app->input->get('name','','HTML');

find the below code :
$item->subject = $app->input->get('subject');
Replace the below code :
$item->subject = $app->input->get('subject','','HTML');

find the below code :
$item->message = $app->input->get('message');
Replace the below code :
$item->message = $app->input->get('message','','HTML');

Thanks
3 years 1 month ago#7523

Please Log in or Create an account to join the conversation.

Time to create page: 0.131 seconds

Contact us

  No.2/A, Venkateshwara Nagar,
1st Main Road, 100 Feet Road, SBM Towers, Velachery,Chennai - 600 042,India.
 admin@jomclassifieds.com
 skype.jomclassifieds
Copyright © 2013-2020 Jomclassifieds.com. All rights reserved. The Joomla! name, and logo are used under a limited license granted in the United States and other countries.