mirror of
https://github.com/aljazceru/CTFd.git
synced 2025-12-17 22:14:25 +01:00
Add abs
This commit is contained in:
@@ -17,7 +17,7 @@ def submissions_listing(submission_type):
|
||||
|
||||
q = request.args.get("q")
|
||||
field = request.args.get("field")
|
||||
page = request.args.get("page", 1, type=int)
|
||||
page = abs(request.args.get("page", 1, type=int))
|
||||
|
||||
if q:
|
||||
submissions = []
|
||||
|
||||
Reference in New Issue
Block a user