Page 1 of 1

bug in serendipity_plugin_comments.php

Posted: Fri Oct 31, 2003 7:28 pm
by Guest
In function generate_content:

1) you need to declare global $serendipity

2) lines 105, 106 - hardcoded serendipity_ needs to be

'.$serendipity['dbPrefix'].'

if there are no comments, the 'if ($sql) { foreach $sql' on 116 blows up.

Posted: Thu Nov 13, 2003 8:15 am
by guy
I had the same problem but this fix doesn't seem to solve it.