Small little crash fix

svn: r13834
This commit is contained in:
Doug Blank 2009-12-17 04:38:33 +00:00
parent d0318dd1a2
commit b4512427af

View File

@ -110,7 +110,7 @@ class EditPerson(EditPrimary):
return gen.lib.Person()
def get_menu_title(self):
if self.obj.get_handle():
if self.obj and self.obj.get_handle():
name = name_displayer.display(self.obj)
title = _('Person: %(name)s') % {'name': name}
else: