]> git.wh0rd.org Git - tt-rss.git/commitdiff
API: support comments count/url (2)
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Tue, 9 Oct 2012 15:24:23 +0000 (19:24 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Tue, 9 Oct 2012 15:24:23 +0000 (19:24 +0400)
include/functions.php

index 1970dcd60701686bd3310ea8ec694d1be6ab1329..44852a1979349126a3d57572e54015959e3385ea 100644 (file)
 
                                $headline_row["feed_title"] = $line["feed_title"];
 
-                               if (!$line["comments"] && $line["num_comments"] > 0)
-                                       $line["comments"] = $line["link"];
-
                                $headline_row["comments_count"] = (int)$line["num_comments"];
                                $headline_row["comments_link"] = $line["comments"];