From: Andrew Dolgov Date: Sun, 12 Jul 2015 11:07:38 +0000 (+0300) Subject: functions: fix some phpstorm-reported warnings X-Git-Tag: 16.3~232^2~10 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=83ce77a2e8fbffc4c179f190dbc5d97f459a01f7;p=tt-rss.git functions: fix some phpstorm-reported warnings --- diff --git a/include/functions2.php b/include/functions2.php index 31504a38..28257185 100644 --- a/include/functions2.php +++ b/include/functions2.php @@ -447,6 +447,8 @@ $check_top_id = isset($params["check_top_id"]) ? $params["check_top_id"] : false; $ext_tables_part = ""; + $query_strategy_part = ""; + $search_words = array(); if ($search) { @@ -1194,7 +1196,7 @@ $_SESSION["hasMp3"])) { $entry .= ""; } else { @@ -1619,6 +1621,7 @@ return __("no tags"); } else { $maxtags = min(5, count($tags)); + $tags_str = ""; for ($i = 0; $i < $maxtags; $i++) { $tags_str .= "" . $tags[$i] . ", ";