From 2131e43e0fd19c16f5a09b1b81047b029dd0d74c Mon Sep 17 00:00:00 2001
From: Tim <roadscape@users.noreply.github.com>
Date: Thu, 6 Oct 2016 11:07:56 -0400
Subject: [PATCH] fix var name

---
 app/components/elements/ReplyEditor.jsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/components/elements/ReplyEditor.jsx b/app/components/elements/ReplyEditor.jsx
index b3d482843..b2368ff23 100644
--- a/app/components/elements/ReplyEditor.jsx
+++ b/app/components/elements/ReplyEditor.jsx
@@ -31,7 +31,7 @@ function stripHtmlWrapper(text) {
 function addHtmlWrapper(body) {
     if(/^<html>/.test(body)) {
         const err = "Error: content passed to addHtmlWrapper is already wrapped";
-        serverApiRecordEvent('assert_error', error);
+        serverApiRecordEvent('assert_error', err);
         console.log(err);
         return body
     }
-- 
GitLab