Fix crash in approval stats

This commit is contained in:
rubenwardy
2025-08-24 22:10:56 +01:00
parent bd23a99aec
commit e03c8f04e1

View File

@@ -96,7 +96,7 @@ def _get_approval_statistics(entries: list[AuditLogEntry], start_date: Optional[
(end_date is None or entry.created_at <= end_date)))
info.is_in_range = info.is_in_range or is_in_range
new_state = get_state(entry.title)
new_state = get_state(entry.title.replace("", "") + (entry.description or ""))
if new_state == info.state:
continue