bug in serendipity_plugin_comments.php

Found a bug? Tell us!!
Post Reply
Guest

bug in serendipity_plugin_comments.php

Post 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.
guy

Post by guy »

I had the same problem but this fix doesn't seem to solve it.
Post Reply