fix opml export
This commit is contained in:
parent
078b5702be
commit
579bf16ee4
4
opml.php
4
opml.php
|
@ -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") {
|
||||||
|
|
Loading…
Reference in New Issue