From 83ce77a2e8fbffc4c179f190dbc5d97f459a01f7 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 12 Jul 2015 14:07:38 +0300 Subject: [PATCH] functions: fix some phpstorm-reported warnings --- include/functions2.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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] . ", "; -- 2.39.5