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

This commit is contained in:
Grischa Brockhaus 2007-07-12 14:35:37 +00:00
parent 73869e1634
commit 5c244dde14

View 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];
}