Archived
1
0

port everything so that 2.0 and 1.7 have the same features

This commit is contained in:
Garvin Hicking
2012-06-12 19:39:11 +02:00
parent dbc992f07e
commit d7ef7a7a04
110 changed files with 3672 additions and 28 deletions
+1 -1
View File
@@ -411,7 +411,7 @@ function add_pingback ($id, $postdata) {
if ($id>0) {
// first check, if we already have this pingback
$comments = serendipity_fetchComments($id,1,'co.id',true,'PINGBACK'," AND co.url='$remote'");
$comments = serendipity_fetchComments($id,1,'co.id',true,'PINGBACK'," AND co.url='" . serendipity_db_escape_string($remote) . "'");
if (is_array($comments) && sizeof($comments) == 1) {
log_pingback("We already have that PINGBACK!");
return 0; // We already have it!