api: one more php8 warning

This commit is contained in:
Andrew Dolgov 2021-02-09 12:04:59 +03:00
parent a5819569f2
commit 2f8efab275
1 changed files with 1 additions and 2 deletions

View File

@ -771,8 +771,7 @@ class API extends Handler {
$headline_row["labels"] = $labels;
$headline_row["feed_title"] = $line["feed_title"] ? $line["feed_title"] :
$feed_title;
$headline_row["feed_title"] = isset($line["feed_title"]) ? $line["feed_title"] : $feed_title;
$headline_row["comments_count"] = (int)$line["num_comments"];
$headline_row["comments_link"] = $line["comments"];