aboutsummaryrefslogtreecommitdiff
path: root/p/api
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2020-05-03 13:39:16 +0200
committerGravatar GitHub <noreply@github.com> 2020-05-03 13:39:16 +0200
commitb1aac20839f6e1f3e733774eeb5984ce7b08c246 (patch)
tree3581e72c05a22fdb65624d53fd8481eb1c9a5da0 /p/api
parent83ba09c2a5f0ad12e7b6536d1c3b7cb4a8072005 (diff)
Fever integer type for numbers (#2946)
* Fever integer type for feed ID #Fix https://github.com/FreshRSS/FreshRSS/issues/2940#issuecomment-623022435 * Fix feed_id * Ensure string for entry ID To be compatible with 32-bit platforms. Before, the type was inconsistent depending on architecture + database * Integer for entry count functions
Diffstat (limited to 'p/api')
-rw-r--r--p/api/fever.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/p/api/fever.php b/p/api/fever.php
index b88ccc255..a714561da 100644
--- a/p/api/fever.php
+++ b/p/api/fever.php
@@ -536,7 +536,7 @@ class FeverAPI
continue;
}
$items[] = array(
- 'id' => $entry->id(),
+ 'id' => '' . $entry->id(),
'feed_id' => $entry->feed(false),
'title' => escapeToUnicodeAlternative($entry->title(), false),
'author' => escapeToUnicodeAlternative(trim($entry->authors(true), '; '), false),