1
0
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:
Andrew Dolgov
2017-12-03 23:08:04 +03:00
parent fa3bcfa379
commit 7c6f7bb0aa
8 changed files with 5 additions and 51 deletions

View File

@@ -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 {