Fix pre-existing info leak on deleted comments.

This commit is contained in:
Jason Harvey
2013-10-16 12:11:56 -07:00
parent 2f0fa46e89
commit 21d4f41476

View File

@@ -73,7 +73,7 @@ ${self.RenderPrintable()}
rowclass = what.rowstyle + " reported"
else:
rowclass = what.rowstyle
if hasattr(what, "_deleted") and what._deleted:
if getattr(what, "deleted", False):
rowclass += " deleted"
if hasattr(what, "saved") and what.saved:
rowclass += " saved"