changeset 4984 | 6cb91be7707f |
parent 4899 | c666d265fb95 |
parent 4974 | 025a491bad0c |
child 5155 | 1dea6e0fdfc1 |
child 5290 | 15846058378b |
--- a/web/request.py Wed Mar 24 08:40:21 2010 +0100 +++ b/web/request.py Wed Mar 24 08:42:49 2010 +0100 @@ -314,7 +314,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):