]> git.wh0rd.org - tt-rss.git/commitdiff
fix opml export
authorAndrew Dolgov <fox@bah.spb.su>
Fri, 2 Mar 2007 14:55:32 +0000 (15:55 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Fri, 2 Mar 2007 14:55:32 +0000 (15:55 +0100)
opml.php

index 718d47bbcbc335fe7b3103edc9731bb1134b0cd6..de48263be146c1679649caf7b2fc50b6b1215054 100644 (file)
--- a/opml.php
+++ b/opml.php
@@ -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") {