]> git.wh0rd.org Git - tt-rss.git/commitdiff
fix broken feed editor (is_private handling)
authorAndrew Dolgov <fox@madoka.spb.ru>
Thu, 26 Jan 2006 07:07:18 +0000 (08:07 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Thu, 26 Jan 2006 07:07:18 +0000 (08:07 +0100)
backend.php
prefs.js

index e5d93ee0d0aa6ecae0bcdccdba27337394aceaa9..de31a0f9757dffc7736ee679525c36ae14516e01 100644 (file)
                        $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;
index 8b6aaf6694dbb4de1b5b0417d167df2362c8dbfa..f5e5a2ccdb193d0e5d3ce95da08484a82beb98a5 100644 (file)
--- 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;