Commit 6741176a authored by Mark Stenglein's avatar Mark Stenglein
Browse files

Merge branch 'issue76' of git.gmu.edu:srct/bookshare into issue76

parents 6d1104e6 0c61b0db
......@@ -20,7 +20,7 @@ class Student(TimeStampedModel):
emails_sent = models.PositiveIntegerField(default=0)
def get_full_name(self):
if (self.user.get_full_name() == ""):
if not(self.user.get_full_name()):
return self.user.username
else:
return self.user.get_full_name()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment