Changeset - 4548912f48c8
[Not reviewed]
beta
0 1 0
Marcin Kuzminski - 13 years ago 2012-07-18 17:59:51
marcin@python-works.com
fixes issue #502, float division error on setting maxsize of changelog to 0
1 file changed with 2 insertions and 1 deletions:
0 comments (0 inline, 0 general)
rhodecode/controllers/changelog.py
Show inline comments
 
@@ -64,7 +64,8 @@ class ChangelogController(BaseRepoContro
 
            session.save()
 
        else:
 
            c.size = int(session.get('changelog_size', default))
 

	
 
        # min size must be 1
 
        c.size = max(c.size, 1)
 
        p = int(request.params.get('page', 1))
 
        branch_name = request.params.get('branch', None)
 
        try:
0 comments (0 inline, 0 general)