Removes avenue for crash in reporting attendees.
This commit is contained in:
parent
e775e5afd9
commit
aec9e58edf
1 changed files with 2 additions and 1 deletions
|
@ -485,7 +485,8 @@ def attendee_list(request):
|
||||||
for a in attendees:
|
for a in attendees:
|
||||||
data.append([
|
data.append([
|
||||||
a.user.id,
|
a.user.id,
|
||||||
a.attendeeprofilebase.attendee_name(),
|
a.attendeeprofilebase.attendee_name()
|
||||||
|
if hasattr(a, "attendeeprofilebase") else "",
|
||||||
a.user.email,
|
a.user.email,
|
||||||
a.has_registered > 0,
|
a.has_registered > 0,
|
||||||
])
|
])
|
||||||
|
|
Loading…
Reference in a new issue