Welcome, Guest
Username: Password: Remember me

TOPIC: Fix for Contact form in JomClassifieds 3.5.1

Fix for Contact form in JomClassifieds 3.5.1 1 year 1 month ago #7523

  • Super User
  • Super User's Avatar
  • Offline
  • Administrator
  • Posts: 2971
  • Thank you received: 344
  • Karma: 46
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
The administrator has disabled public write access.
Time to create page: 0.128 seconds

We accept cookies to provide you the best viewing experience. By using our services, you agree to our use of cookies