Update of /cvsroot/php-blog/serendipity
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3427
Modified Files:
serendipity_functions.inc.php
Log Message:
fix uninitialized variable, wrong XHTML.
Index: serendipity_functions.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/serendipity_functions.inc.php,v
retrieving revision 1.411
retrieving revision 1.412
diff -u -d -r1.411 -r1.412
--- serendipity_functions.inc.php 1 Sep 2004 17:17:41 -0000 1.411
+++ serendipity_functions.inc.php 1 Sep 2004 18:02:21 -0000 1.412
@@ -2217,7 +2217,7 @@
return "Couldn't connect to $loc";
}
- $headers .= "POST {$target['path']}{$target['query']} HTTP/1.1\r\n";
+ $headers = "POST {$target['path']}{$target['query']} HTTP/1.1\r\n";
$headers .= "Host: {$target['host']}\r\n";
$headers .= "User-Agent: Serendipity/{$serendipity['version']}\r\n";
$headers .= "Content-Type: application/x-www-form-urlencoded; charset=" . LANG_CHARSET . "\r\n";
@@ -2323,7 +2323,7 @@
if (strlen($res) != 0) {
serendipity_trackback_autodiscover($res, $parsed_loc, $url, $author, $title, $text);
serendipity_pingback_autodiscover($loc, $res);
- echo '<hr noshade="noshade">';
+ echo '<hr noshade="noshade" />';
} else {
echo '<div>• ' . TRACKBACK_NO_DATA . '</div>';
}
|