From e5075c10230b7ffb4f4aa8785e1af4b7a6ef177f Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 8 Nov 2010 19:25:06 +0300 Subject: [PATCH] fix OPML publishing --- modules/backend-rpc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/backend-rpc.php b/modules/backend-rpc.php index 053cd47df..844afaddf 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 "";