diff options
Diffstat (limited to 'Project-Unite/Controllers/StatsController.cs')
| -rw-r--r-- | Project-Unite/Controllers/StatsController.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Project-Unite/Controllers/StatsController.cs b/Project-Unite/Controllers/StatsController.cs index 1306f8e..1fbf851 100644 --- a/Project-Unite/Controllers/StatsController.cs +++ b/Project-Unite/Controllers/StatsController.cs @@ -25,6 +25,8 @@ namespace Project_Unite.Controllers }); } + id = id - 1; + int pagecount = highscores.GetPageCount(10); if (id > pagecount || id < 1) return new HttpStatusCodeResult(HttpStatusCode.BadRequest); |
