fixed issue 1679:auth.navbar() duplicates first link if mode is 'default', thanks wkl

This commit is contained in:
mdipierro
2013-09-16 08:55:43 -05:00
parent 13c78fae58
commit 2516bb59a1
2 changed files with 2 additions and 2 deletions

View File

@@ -1 +1 @@
Version 2.6.3-stable+timestamp.2013.09.15.11.59.21
Version 2.6.3-stable+timestamp.2013.09.16.08.54.40

View File

@@ -1509,7 +1509,7 @@ class Auth(object):
self.bar = SPAN(s1, Anr(items[0]['name'],
_href=items[0]['href']), s3,
_class='auth_navbar')
for item in items:
for item in items[1:]:
self.bar.insert(-1, s2)
self.bar.insert(-1, Anr(item['name'], _href=item['href']))