mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 19:05:55 +00:00
fix some minor issues found by code analyzer
This commit is contained in:
@@ -762,12 +762,6 @@ class Pref_Filters extends Handler_Protected {
|
||||
|
||||
function index() {
|
||||
|
||||
$sort = $_REQUEST["sort"];
|
||||
|
||||
if (!$sort || $sort == "undefined") {
|
||||
$sort = "reg_exp";
|
||||
}
|
||||
|
||||
$filter_search = $_REQUEST["search"];
|
||||
|
||||
if (array_key_exists("search", $_REQUEST)) {
|
||||
@@ -780,8 +774,6 @@ class Pref_Filters extends Handler_Protected {
|
||||
print "<div id=\"pref-filter-header\" dojoType=\"dijit.layout.ContentPane\" region=\"top\">";
|
||||
print "<div id=\"pref-filter-toolbar\" dojoType=\"dijit.Toolbar\">";
|
||||
|
||||
$filter_search = $_REQUEST["search"];
|
||||
|
||||
if (array_key_exists("search", $_REQUEST)) {
|
||||
$_SESSION["prefs_filter_search"] = $filter_search;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user