PDA

View Full Version : [fixed] Wrong preg_quote() parameter count


Mike Sullivan
Fri 11th May '01, 1:31pm
Ok, I haven't seen this reported yet, but just found it :)

functions.php, change:

$censorwords = preg_quote($censorwords, '/');
to
$censorwords = preg_quote($censorwords);
$censorwords = str_replace('/', '\\/', $censorwords);