Version 0.9.1 ()
------------------------------------------------------------------------
+ * Fix incorrect entry count in categories sidebar plugin (was also
+ counting drafts)
+
* Set the correct reply-to name when sending comment mails, thanks
to RobA from the forums (garvinhicking)
FROM {$serendipity['dbPrefix']}entrycat ec,
{$serendipity['dbPrefix']}category c,
{$serendipity['dbPrefix']}entries e
- WHERE ec.categoryid = c.categoryid AND ec.entryid = e.id
+ WHERE ec.categoryid = c.categoryid AND ec.entryid = e.id AND e.isdraft = 'false'
GROUP BY c.categoryid, c.category_name
ORDER BY postings DESC";
$category_rows = serendipity_db_query($cat_sql);