mirror of
https://github.com/zoriya/Kyoo.git
synced 2026-05-29 10:32:32 -04:00
Fixing bug with null limit on a page
This commit is contained in:
@@ -35,7 +35,7 @@ namespace Kyoo.Models
|
||||
Items = items;
|
||||
This = url + query.ToQueryString();
|
||||
|
||||
if (items.Count == limit)
|
||||
if (items.Count == limit && limit > 0)
|
||||
{
|
||||
query["afterID"] = items.Last().ID.ToString();
|
||||
Next = url + query.ToQueryString();
|
||||
|
||||
Reference in New Issue
Block a user