PDA

View Full Version : quotes in description


Anonymous
06-05-2005, 09:44 AM
When I enter a description with a single quote. It tells me that the link has been submitted but there is no entry in the approve links section of the admin area.

thanks in advance for your advice

dcb
06-05-2005, 01:20 PM
Version 2.0 will be released tomorrow and it solves this bug too.

IGonza
06-07-2005, 05:27 PM
to dickie :

Open addlink.php file. Find :

$link->title = $_POST['title'];
$link->url = $_POST['url'];
$link->description = $_POST['description'];

Add below :
$link->description = str_replace ("'", " & # 0 3 9; ", $description);


(delete all spaces before here : " & # 0 3 9; ")

Thanks,
Igor.