fix OPML publishing

This commit is contained in:
Andrew Dolgov 2010-11-08 19:25:06 +03:00
parent 73fe13afd4
commit e5075c1023
1 changed files with 1 additions and 1 deletions

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>";