From b1aac20839f6e1f3e733774eeb5984ce7b08c246 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Sun, 3 May 2020 13:39:16 +0200 Subject: 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 --- p/api/fever.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'p/api') 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), -- cgit v1.2.3