Skip to content
Permalink
Browse files

Update Email.php

  • Loading branch information...
obinoob committed Sep 5, 2017
1 parent 4bc658d commit 5e4ee87acaaa7b5d168a0a9ea1599af89a2a4cb1
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/Mailer/Email.php
@@ -2092,12 +2092,12 @@ protected function _logDelivery($contents)
/**
* Converts given value to string
*
* @param string|array $value
* @param string|array $value The value to convert
* @return string
*/
protected function flatten($value)
{
return is_array($value) ? implode(';', $value) : $value;
return is_array($value) ? implode(';', $value) : (string)$value;
}
/**

0 comments on commit 5e4ee87

Please sign in to comment.
You can’t perform that action at this time.