branch | stable |
changeset 4974 | 025a491bad0c |
parent 4868 | e34cbd85d14d |
child 4984 | 6cb91be7707f |
--- a/web/request.py Tue Mar 23 17:06:05 2010 +0100 +++ b/web/request.py Tue Mar 23 17:08:50 2010 +0100 @@ -290,7 +290,7 @@ breadcrumbs.append(self.url()) else: url = self.url() - if breadcrumbs[-1] != url: + if breadcrumbs and breadcrumbs[-1] != url: breadcrumbs.append(url) def last_visited_page(self):