1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 20:05:55 +00:00

fix opml export

This commit is contained in:
Andrew Dolgov
2007-03-02 15:55:32 +01:00
parent 078b5702be
commit 579bf16ee4

View File

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