##// END OF EJS Templates
fixes issue #502, float division error on setting maxsize of changelog to 0
marcink -
r2628:4548912f beta
parent child Browse files
Show More
@@ -64,7 +64,8 b' class ChangelogController(BaseRepoContro'
64 session.save()
64 session.save()
65 else:
65 else:
66 c.size = int(session.get('changelog_size', default))
66 c.size = int(session.get('changelog_size', default))
67
67 # min size must be 1
68 c.size = max(c.size, 1)
68 p = int(request.params.get('page', 1))
69 p = int(request.params.get('page', 1))
69 branch_name = request.params.get('branch', None)
70 branch_name = request.params.get('branch', None)
70 try:
71 try:
General Comments 0
You need to be logged in to leave comments. Login now