Skip to content

A free, self-hostable news aggregator…

API 64-bit ID as string (#2621)

Alexandre Alapetite6a317d876c1d
diff --git a/p/api/greader.php b/p/api/greader.php
index 66888b0ef..9c28125e7 100644
--- a/p/api/greader.php
+++ b/p/api/greader.php
@@ -696,7 +696,7 @@ function streamContentsItemsIds($streamId, $start_time, $stop_time, $count, $ord
$itemRefs = array();
foreach ($ids as $id) {
$itemRefs[] = array(
- 'id' => $id, //64-bit decimal
+ 'id' => '' . $id, //64-bit decimal
);
}