fix opml export

This commit is contained in:
Andrew Dolgov 2007-03-02 15:55:32 +01:00
parent 078b5702be
commit 579bf16ee4
1 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@
$owner_uid = $_SESSION["uid"]; $owner_uid = $_SESSION["uid"];
function opml_export($link) { function opml_export($link, $owner_uid) {
header("Content-type: application/xml+opml"); header("Content-type: application/xml+opml");
print "<?phpxml version=\"1.0\"?>"; print "<?phpxml version=\"1.0\"?>";
@ -90,7 +90,7 @@
if (!$op) $op = "Export"; if (!$op) $op = "Export";
if ($op == "Export") { if ($op == "Export") {
return opml_export($link); return opml_export($link, $owner_uid);
} }
if ($op == "Import") { if ($op == "Import") {