From f448a1a26092fb3d59ec07918f05264e93050feb Mon Sep 17 00:00:00 2001 From: Chris Schuld Date: Wed, 21 Dec 2016 12:20:33 -0700 Subject: [PATCH] simple change to address that custom args cannot be anything but strings --- lib/helpers/mail/Mail.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/helpers/mail/Mail.php b/lib/helpers/mail/Mail.php index 4311a316d..07c2eca2f 100644 --- a/lib/helpers/mail/Mail.php +++ b/lib/helpers/mail/Mail.php @@ -807,7 +807,7 @@ public function getSubstitutions() public function addCustomArg($key, $value) { - $this->custom_args[$key] = $value; + $this->custom_args[$key] = (string)$value; } public function getCustomArgs() @@ -1020,7 +1020,7 @@ public function getCategories() public function addCustomArg($key, $value) { - $this->custom_args[$key] = $value; + $this->custom_args[$key] = (string)$value; } public function getCustomArgs()