Explorar o código

API 64-bit ID as string (#2621)

Fix https://github.com/FreshRSS/FreshRSS/issues/2620
Alexandre Alapetite %!s(int64=6) %!d(string=hai) anos
pai
achega
6a317d876c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      p/api/greader.php

+ 1 - 1
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
 		);
 	}