From: Andrew Dolgov Date: Mon, 8 Nov 2010 16:25:06 +0000 (+0300) Subject: fix OPML publishing X-Git-Tag: 1.5.0~353 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=e5075c10230b7ffb4f4aa8785e1af4b7a6ef177f;p=tt-rss.git fix OPML publishing --- diff --git a/modules/backend-rpc.php b/modules/backend-rpc.php index 053cd47d..844afadd 100644 --- a/modules/backend-rpc.php +++ b/modules/backend-rpc.php @@ -467,7 +467,7 @@ if ($subop == "regenOPMLKey") { print ""; - 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 "";