Changeset 4704


Ignore:
Timestamp:
7 Jan 2010, 18:46:33 (15 years ago)
Author:
uli
Message:

Fix faulty attribute call.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • waeup/branches/ulif-layout/src/waeup/browser/breadcrumbs.py

    r4698 r4704  
    3434        if self._title is not None:
    3535            return self._title
    36         if hasattr(context, 'name'):
    37             return context.name
    38         if hasattr(context, 'title'):
    39             return context.title
     36        if hasattr(self.context, 'name'):
     37            return self.context.name
     38        if hasattr(self.context, 'title'):
     39            return self.context.title
    4040        return None
    4141
Note: See TracChangeset for help on using the changeset viewer.