From 19ded366c260c87c42b924c4c54d36691832bad4 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 26 Jan 2006 08:07:18 +0100 Subject: [PATCH] fix broken feed editor (is_private handling) --- backend.php | 2 +- prefs.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backend.php b/backend.php index e5d93ee0d..de31a0f97 100644 --- a/backend.php +++ b/backend.php @@ -1827,7 +1827,7 @@ $auth_login = db_escape_string($_POST["login"]); $auth_pass = db_escape_string($_POST["pass"]); $parent_feed = db_escape_string($_POST["pfeed"]); - $private = db_escape_string($_POST["private"]); + $private = db_escape_string($_POST["is_pvt"]); if (strtoupper($upd_intl) == "DEFAULT") $upd_intl = 0; diff --git a/prefs.js b/prefs.js index 8b6aaf669..f5e5a2ccd 100644 --- a/prefs.js +++ b/prefs.js @@ -699,7 +699,7 @@ function feedEditSave() { var purge_intl = document.getElementById("iedit_purgintl").value; var fcat = document.getElementById("iedit_fcat"); - var is_pvt = document.getElementById("iedit_is_pvt"); + var is_pvt = document.getElementById("iedit_private"); if (is_pvt) { is_pvt = is_pvt.checked;