]> git.wh0rd.org - tt-rss.git/commitdiff
functions: fix some phpstorm-reported warnings
authorAndrew Dolgov <noreply@fakecake.org>
Sun, 12 Jul 2015 11:07:38 +0000 (14:07 +0300)
committerAndrew Dolgov <noreply@fakecake.org>
Sun, 12 Jul 2015 11:07:38 +0000 (14:07 +0300)
include/functions2.php

index 31504a38be656adbce7cda9158ee8549dff69c9e..282571850730fb38a7bb2e3cfb067772e2638c52 100644 (file)
                $check_top_id = isset($params["check_top_id"]) ? $params["check_top_id"] : false;
 
                $ext_tables_part = "";
+               $query_strategy_part = "";
+
                $search_words = array();
 
                        if ($search) {
                                $_SESSION["hasMp3"])) {
 
                                $entry .= "<audio preload=\"none\" controls>
-                                       <source type=\"$ctype\" src=\"$url\"></source>
+                                       <source type=\"$ctype\" src=\"$url\"/>
                                        </audio>";
 
                        } else {
                        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>, ";