summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2015-07-12 14:07:38 +0300
committerAndrew Dolgov <[email protected]>2015-07-12 14:07:38 +0300
commit83ce77a2e8fbffc4c179f190dbc5d97f459a01f7 (patch)
tree34957889c8e15fb90c1f72807458876283f9a951 /include
parent39d488a256314b18d9cebce6c3da361dcff49bc0 (diff)
functions: fix some phpstorm-reported warnings
Diffstat (limited to 'include')
-rw-r--r--include/functions2.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/functions2.php b/include/functions2.php
index 31504a38b..282571850 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 .= "<audio preload=\"none\" controls>
- <source type=\"$ctype\" src=\"$url\"></source>
+ <source type=\"$ctype\" src=\"$url\"/>
</audio>";
} else {
@@ -1619,6 +1621,7 @@
return __("no tags");
} else {
$maxtags = min(5, count($tags));
+ $tags_str = "";
for ($i = 0; $i < $maxtags; $i++) {
$tags_str .= "<a class=\"tag\" href=\"#\" onclick=\"viewfeed('".$tags[$i]."')\">" . $tags[$i] . "</a>, ";