From c5108fdcdb1e90e799b70a5ede2da43daa2d25b1 Mon Sep 17 00:00:00 2001 From: hostyle Date: Wed, 19 Dec 2018 13:01:16 +0000 Subject: [PATCH] Removed extraneous whitespace causing php warning - Fixes #75 --- lib/class-sendgrid-nlvx-widget.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/class-sendgrid-nlvx-widget.php b/lib/class-sendgrid-nlvx-widget.php index 9560dd2..5414465 100644 --- a/lib/class-sendgrid-nlvx-widget.php +++ b/lib/class-sendgrid-nlvx-widget.php @@ -205,7 +205,7 @@ private function process_subscription() { $email = $email_split[0] . '@' . $email_domain; } else { - $email = htmlspecialchars( $_POST['sendgrid_mc_email'], ENT_QUOTES, 'UTF-8 '); + $email = htmlspecialchars( $_POST['sendgrid_mc_email'], ENT_QUOTES, 'UTF-8'); } // Bad call