From 933035314badb78cf1f68376ed2cb24c8deb7862 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9gory=20Soutad=C3=A9?= Date: Mon, 24 Dec 2012 10:06:46 +0100 Subject: [PATCH] Fix a bug in blog navigation bar --- views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views.py b/views.py index 6407960..2921f68 100644 --- a/views.py +++ b/views.py @@ -73,7 +73,7 @@ def createNavigationBar(blog_id, cur_page, nb_pages): if cur_page == nb_pages: navigation_bar += ' > >>' else: - navigation_bar += ' >' % (blog_id, nb_pages) + navigation_bar += ' >' % (blog_id, cur_page+1) navigation_bar += ' >>' % (blog_id, nb_pages) return navigation_bar