]> git.wh0rd.org Git - tt-rss.git/commitdiff
fix OPML publishing
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Mon, 8 Nov 2010 16:25:06 +0000 (19:25 +0300)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Mon, 8 Nov 2010 16:25:06 +0000 (19:25 +0300)
modules/backend-rpc.php

index 053cd47df5a818b62bb8327c3f5db53460098430..844afaddf4342ad23498c412a08693813591ff58 100644 (file)
                if ($subop == "regenOPMLKey") {
 
                        print "<rpc-reply>";
-                       set_pref($link, " _PREFS_OPML_PUBLISH_KEY", 
+                       set_pref($link, " _PREFS_PUBLISH_KEY", 
                                sha1(uniqid(rand(), true)), $_SESSION["uid"]);
                        $new_link = opml_publish_url($link);            
                        print "<link><![CDATA[$new_link]]></link>";