]> git.mjollnir.org Git - s9y.git/commitdiff
Garvins Änderung auch für (z.B.) Images funktionierend gemacht
authorbrockhaus <brockhaus>
Thu, 12 Jul 2007 14:35:37 +0000 (14:35 +0000)
committerbrockhaus <brockhaus>
Thu, 12 Jul 2007 14:35:37 +0000 (14:35 +0000)
include/functions_trackbacks.inc.php

index e4dbb4e6793658b0ec7008f403c9189f8fc1ef6b..9b4e52e607b140e3841fb1bcb489931bb072d005 100644 (file)
@@ -574,7 +574,9 @@ function serendipity_handle_references($id, $author, $title, $text, $dry_run = f
             echo $row . "<br />\n";
         }
         
+        $names[$i] = strip_tags($names[$i]);
         if (empty($names[$i])) {
+            if ($debug) echo "Found reference $locations[$i] w/o name. Adding location as name.";
             $names[$i] = $locations[$i];
         }