Skip to content

Commit

Permalink
simple change to address that custom args cannot be anything but strings
Browse files Browse the repository at this point in the history
  • Loading branch information
cbschuld committed Dec 21, 2016
1 parent 46f85e6 commit f448a1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/helpers/mail/Mail.php
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down Expand Up @@ -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()
Expand Down

0 comments on commit f448a1a

Please sign in to comment.