Joomla Jobline Component Strip Slashes
If you have magic_quotes_gpc set to on in php and would like to keep it on but jobline is not removing the slashes on display or edit in the backend then edit the following files to fix it.
/administrator/components/com_jobline/admin.jobline.php
Look for the editJobPosting function and just before the last line in this function which is HTML_jobline_admin::editJobPosting( $row, $lists, $cur_template, $returnpage ); add the following lines of code.
$row->description = stripslashes($row->description);
$row->qualifications = stripslashes($row->qualifications);
$row->applyinfo = stripslashes($row->applyinfo);
That just fixes editing in the backend, now for the front end view. Go find this file…
/components/com_jobline/jobline.php
and look for this function viewJobPosting and add the same lines as above which are
$row->description = stripslashes($row->description);
$row->qualifications = stripslashes($row->qualifications);
$row->applyinfo = stripslashes($row->applyinfo);
right before this line
HTML_jobline::show( $row );
Hope this helps, it takes a little while to find so I thought I would save someone else the time. Enjoy


