Skip to content

Commit

Permalink
Merge pull request #337 from cbschuld/master
Browse files Browse the repository at this point in the history
API level addressing of the string-only custom arg rule
  • Loading branch information
thinkingserious authored Mar 16, 2017
2 parents 5557191 + f448a1a commit d49dc20
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 @@ -852,7 +852,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 @@ -1071,7 +1071,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 d49dc20

Please sign in to comment.