From 45facff86e8457d0241202c6d5d60a6e994fe1c6 Mon Sep 17 00:00:00 2001 From: Jason Kridner Date: Mon, 1 Jul 2013 11:10:45 -0500 Subject: [PATCH] Removed some visible email addresses --- code/Page/macros.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/Page/macros.js b/code/Page/macros.js index d1f2fe6a0..e8be7f5f6 100644 --- a/code/Page/macros.js +++ b/code/Page/macros.js @@ -82,7 +82,7 @@ function registrant_macro (param) { if (this.registrant) { - return ("" + this.registrant); + return (("" + this.registrant).replace(/\@.*$/, "")); } else { @@ -94,11 +94,11 @@ function registrar_macro (param) { if (this.registrant) { - return ("" + this.registrant); + return (("" + this.registrant).replace(/\@.*$/, "")); } else if (session.user && session.user["name"]) { - return ("" + session.user["name"]); + return (("" + session.user["name"]).replace(/\@.*$/, "")); } else { -- 2.11.4.GIT