summaryrefslogtreecommitdiff
path: root/classes/feeds.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2019-01-16 21:33:59 +0300
committerAndrew Dolgov <[email protected]>2019-01-16 21:33:59 +0300
commit8b26b8629f0c7c327cfbac76eb22f65341f31397 (patch)
tree554acbd49ad4f4f0926d602a331c589414a772cc /classes/feeds.php
parent17a8821c0ba4a51875a7448f82871d36aae78d01 (diff)
headlines-frame: set is-vfeed attribute if result is virtual feed
Diffstat (limited to 'classes/feeds.php')
-rwxr-xr-xclasses/feeds.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/classes/feeds.php b/classes/feeds.php
index 023fba81a..60ccdc2e7 100755
--- a/classes/feeds.php
+++ b/classes/feeds.php
@@ -209,6 +209,7 @@ class Feeds extends Handler_Protected {
make_local_datetime($qfh_ret[4], false) : __("Never");
$highlight_words = $qfh_ret[5];
$reply['first_id'] = $qfh_ret[6];
+ $reply['is_vfeed'] = $qfh_ret[7];
$reply['search_query'] = [$search, $search_language];
$reply['vfeed_group_enabled'] = $vfeed_group_enabled;
@@ -1748,7 +1749,7 @@ class Feeds extends Handler_Protected {
$first_id = (int)$row["id"];
if ($offset > 0 && $first_id && $check_first_id && $first_id != $check_first_id) {
- return array(-1, $feed_title, $feed_site_url, $last_error, $last_updated, $search_words, $first_id);
+ return array(-1, $feed_title, $feed_site_url, $last_error, $last_updated, $search_words, $first_id, $vfeed_query_part != "");
}
}
}
@@ -1837,7 +1838,7 @@ class Feeds extends Handler_Protected {
$res = $pdo->query($query);
}
- return array($res, $feed_title, $feed_site_url, $last_error, $last_updated, $search_words, $first_id);
+ return array($res, $feed_title, $feed_site_url, $last_error, $last_updated, $search_words, $first_id, $vfeed_query_part != "");
}