1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-24 10:21:29 +00:00

fix OPML publishing

This commit is contained in:
Andrew Dolgov
2010-11-08 19:25:06 +03:00
parent 73fe13afd4
commit e5075c1023

View File

@@ -467,7 +467,7 @@
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>";