mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-28 00:07:57 -05:00
Fix pre-existing info leak on deleted comments.
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user