From 21d4f41476236852fc91abfa876cf96e3f4fcc38 Mon Sep 17 00:00:00 2001 From: Jason Harvey Date: Wed, 16 Oct 2013 12:11:56 -0700 Subject: [PATCH] Fix pre-existing info leak on deleted comments. --- r2/r2/templates/printable.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/r2/r2/templates/printable.html b/r2/r2/templates/printable.html index 8268a158a..7eb44627c 100644 --- a/r2/r2/templates/printable.html +++ b/r2/r2/templates/printable.html @@ -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"