aboutsummaryrefslogtreecommitdiff
path: root/p/api/greader.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2020-11-12 09:36:33 +0100
committerGravatar GitHub <noreply@github.com> 2020-11-12 09:36:33 +0100
commit6887ba05923c370f6e8def5a1f13f23e554c510a (patch)
tree649fd3af9ab84fbd5b42ae8ef4947d741d1b743d /p/api/greader.php
parenta90274a1f4e7ec27917f4ea32d5b0987dc66b22c (diff)
API fix continuation type (#3250)
#fix https://github.com/FreshRSS/FreshRSS/issues/3247
Diffstat (limited to 'p/api/greader.php')
-rw-r--r--p/api/greader.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/p/api/greader.php b/p/api/greader.php
index f97dd5da4..55097cc9f 100644
--- a/p/api/greader.php
+++ b/p/api/greader.php
@@ -673,7 +673,7 @@ function streamContents($path, $include_target, $start_time, $stop_time, $count,
if (count($entries) >= $count) {
$entry = end($entries);
if ($entry != false) {
- $response['continuation'] = $entry->id();
+ $response['continuation'] = '' . $entry->id();
}
}
@@ -729,7 +729,7 @@ function streamContentsItemsIds($streamId, $start_time, $stop_time, $count, $ord
if (count($ids) >= $count) {
$id = end($ids);
if ($id != false) {
- $response['continuation'] = $id;
+ $response['continuation'] = '' . $id;
}
}