From 30c5d67934b6f1cc6138697cc073115dd515c201 Mon Sep 17 00:00:00 2001 From: Grischa Brockhaus Date: Wed, 1 Jul 2009 11:50:51 +0000 Subject: [PATCH] plugin_comment displays trackbacks *and* pingbacks in trackback only mode now. --- .../serendipity_plugin_comments/serendipity_plugin_comments.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/serendipity_plugin_comments/serendipity_plugin_comments.php b/plugins/serendipity_plugin_comments/serendipity_plugin_comments.php index 0dac1c9a..ea47f8b0 100644 --- a/plugins/serendipity_plugin_comments/serendipity_plugin_comments.php +++ b/plugins/serendipity_plugin_comments/serendipity_plugin_comments.php @@ -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,