From e604307372ec89278f0bb05de378a650c9fd84fd Mon Sep 17 00:00:00 2001 From: Reed Loden Date: Wed, 22 Feb 2012 21:07:09 -0800 Subject: Bug 729436 - Add missing validation on comments to Splinter [r=glob] --- extensions/Splinter/template/en/default/pages/splinter.html.tmpl | 1 + 1 file changed, 1 insertion(+) (limited to 'extensions/Splinter/template/en/default') diff --git a/extensions/Splinter/template/en/default/pages/splinter.html.tmpl b/extensions/Splinter/template/en/default/pages/splinter.html.tmpl index cb4ca58cb..953bc9ddb 100644 --- a/extensions/Splinter/template/en/default/pages/splinter.html.tmpl +++ b/extensions/Splinter/template/en/default/pages/splinter.html.tmpl @@ -69,6 +69,7 @@ theBug.reporterName = Splinter.Utils.strip('[% bug.reporter.name FILTER js %]'); [% FOREACH comment = bug.comments %] + [% NEXT IF comment.is_private && !user.is_insider %] var comment = new Splinter.Bug.Comment(); comment.whoName = Splinter.Utils.strip('[% comment.author.name FILTER js %]'); comment.whoEmail = Splinter.Utils.strip('[% comment.author.email FILTER js %]'); -- cgit v1.2.3-24-g4f1b