Explorar o código

Merge pull request #3303 from pixelfed/staging

Update ReblogService
daniel %!s(int64=3) %!d(string=hai) anos
pai
achega
7db44d8d85
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/Services/ReblogService.php

+ 1 - 1
app/Services/ReblogService.php

@@ -53,7 +53,7 @@ class ReblogService
 		$pid = intval($parentId);
 		$id = intval($reblogId);
 		if($pid && $id) {
-			return Redis::zadd(self::REBLOGS_KEY . $pid, $id);
+			return Redis::zadd(self::REBLOGS_KEY . $pid, $id, $id);
 		}
 	}