Fix history unassigned

remotes/origin/3.4.0rc
Álex Hermida 2018-04-26 07:49:32 +02:00 committed by Miguel Gonzalez
parent 9fae7e1ef8
commit c7111a29b1
1 changed files with 2 additions and 2 deletions

View File

@ -181,9 +181,9 @@ class HistoryEntry(models.Model):
value_in = None
value_out = None
if diff_in:
value_in = ", ".join([resolve_value("users", x) for x in diff_in])
value_in = ", ".join([resolve_value("users", x) for x in diff_in if x])
if diff_out:
value_out = ", ".join([resolve_value("users", x) for x in diff_out])
value_out = ", ".join([resolve_value("users", x) for x in diff_out if x])
value = [value_in, value_out]
elif key == "points":
points = {}