Posted on: 06/30/03 07:25pm
By: Anonymous (Gildas)
I was getting this message when trying to post links and found that it would only happen when I DID NOT put a description for the link.
Of course I could put just a space in but why do that when I can code it in
I cheated of course - the best way to fix it is to check for a null description but I\'m lazy.
I fixed it on my system by modifying link.php so that it adds a SPACE to the description.
// clean \'em up
$description = addslashes (COM_checkHTML (COM_checkWords ($description)));
$description .= \" \";
Add the last line after the first line and save/upload your script change.
Re:1064: error in your SQL syntax near \'\' at line 1
Posted on: 07/01/03 03:47am
By: Dirk
This is already fixed in 1.3.8rc1, btw.
bye, Dirk