View Full Version : Front-end editing of links with quotes in title
When you click edit on a link with a quote or quotes in the title, it cuts off the text in the textbox from the first quote.
Example:
This is a "Title"
When editing:
This is a
Brian
09-23-2004, 07:32 PM
In your addlink.php file look for:
$unhtml_linkname = unhtmlspecialchars(stripslashes($link['name']));
$linkname = stripslashes($link['name']);
$description = unhtmlspecialchars(stripslashes($link['description']));
$linkurl = unhtmlspecialchars(stripslashes($link['url']));
$keywords = unhtmlspecialchars(stripslashes($link['keywords']));
Replace that with:
$unhtml_linkname = stripslashes($link['name']);
$linkname = stripslashes($link['name']);
$description = stripslashes($link['description']);
$linkurl = stripslashes($link['url']);
$keywords = stripslashes($link['keywords']);
And that should fix the problem.
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.