plugin_comment displays trackbacks *and* pingbacks in trackback only mode now.

This commit is contained in:
Grischa Brockhaus 2009-07-01 11:50:51 +00:00
parent 25ca2d1515
commit 55d94844ad

View File

@ -139,7 +139,7 @@ class serendipity_plugin_comments extends serendipity_plugin
if ($this->get_config('viewmode') == 'comments') {
$viewtype .= ' AND c.type = \'NORMAL\'';
} elseif ($this->get_config('viewmode') == 'trackbacks') {
$viewtype .= ' AND c.type = \'TRACKBACK\'';
$viewtype .= ' AND (c.type = \'TRACKBACK\' OR c.type = \'PINGBACK\')';
}
$q = 'SELECT c.body AS comment,