From: brockhaus <brockhaus>
Date: Thu, 12 Jul 2007 14:35:37 +0000 (+0000)
Subject: Garvins Änderung auch für (z.B.) Images funktionierend gemacht
X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=61d870694f8b4056871f2f4f3e8e7b9e8ae0edc7;p=s9y.git

Garvins Änderung auch für (z.B.) Images funktionierend gemacht
---

diff --git a/include/functions_trackbacks.inc.php b/include/functions_trackbacks.inc.php
index e4dbb4e..9b4e52e 100644
--- a/include/functions_trackbacks.inc.php
+++ b/include/functions_trackbacks.inc.php
@@ -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];
         }