From f30ef1fa1bd76b497b5c0a64a92e2e0ef7116515 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 12 Dec 2011 22:46:25 +0400 Subject: subop -> method --- modules/pref-instances.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'modules/pref-instances.php') diff --git a/modules/pref-instances.php b/modules/pref-instances.php index 463dc70c4..ca9a011e1 100644 --- a/modules/pref-instances.php +++ b/modules/pref-instances.php @@ -6,9 +6,9 @@ return; } - $subop = $_REQUEST['subop']; + $method = $_REQUEST['method']; - if ($subop == "remove") { + if ($method == "remove") { $ids = db_escape_string($_REQUEST['ids']); db_query($link, "DELETE FROM ttrss_linked_instances WHERE @@ -17,7 +17,7 @@ return; } - if ($subop == "add") { + if ($method == "add") { $id = db_escape_string($_REQUEST["id"]); $access_url = db_escape_string($_REQUEST["access_url"]); $access_key = db_escape_string($_REQUEST["access_key"]); @@ -40,7 +40,7 @@ return; } - if ($subop == "edit") { + if ($method == "edit") { $id = db_escape_string($_REQUEST["id"]); @@ -49,7 +49,7 @@ print ""; print ""; - print ""; + print ""; print "
".__("Instance")."
"; @@ -100,7 +100,7 @@ return; } - if ($subop == "editSave") { + if ($method == "editSave") { $id = db_escape_string($_REQUEST["id"]); $access_url = db_escape_string($_REQUEST["access_url"]); $access_key = db_escape_string($_REQUEST["access_key"]); -- cgit v1.2.3