diff --git a/wire/core/Wire.php b/wire/core/Wire.php index ed2d4605..dd637561 100644 --- a/wire/core/Wire.php +++ b/wire/core/Wire.php @@ -1196,7 +1196,7 @@ abstract class Wire implements WireTranslatable, WireFuelable, WireTrackable { /** * Record a Notice, internal use (contains the code for message, warning and error methods) * - * @param string $text|array|Wire Title of notice + * @param string|array|Wire $text Title of notice * @param int $flags Flags bitmask * @param string $name Name of container * @param string $class Name of Notice class diff --git a/wire/core/WireMail.php b/wire/core/WireMail.php index 9350c50a..320d1a1a 100644 --- a/wire/core/WireMail.php +++ b/wire/core/WireMail.php @@ -610,7 +610,7 @@ class WireMail extends WireData implements WireMailInterface { foreach($this->to as $to) { $toName = isset($this->mail['toName'][$to]) ? $this->mail['toName'][$to] : ''; - if($toName) $to = $this->bundleEmailAndName($to, $toName); // bundle to "User Name bundleEmailAndName($to, $toName); // bundle to "User Name " if($param) { if(@mail($to, $subject, $body, $header, $param)) $numSent++; } else {