pingbacks were not counted as entry trackbacks (also added to entries)
This commit is contained in:
parent
45c300afd5
commit
388e5c3d21
@ -663,7 +663,7 @@ function serendipity_approveComment($cid, $entry_id, $force = false, $moderate =
|
||||
$counter_tb = serendipity_db_query("SELECT count(id) AS counter
|
||||
FROM {$serendipity['dbPrefix']}comments
|
||||
WHERE status = 'approved'
|
||||
AND type = 'TRACKBACK'
|
||||
AND (type = 'TRACKBACK' or type = 'PINGBACK')
|
||||
AND entry_id = " . (int)$entry_id . "
|
||||
GROUP BY entry_id", true);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user