ZF2-118: Zend\Mail\Mail::getDefaultTransport() bug
Description
simple bug:
public static function getDefaultTransport()
{
if (! self::$_defaultTransport instanceof AbstractTransport) {
$transport = new Transport\Sendmail();
}
return self::$_defaultTransport;
}
should be:
public static function getDefaultTransport()
{
if (! self::$_defaultTransport instanceof AbstractTransport) {
self::$_defaultTransport = new Transport\Sendmail();
}
return self::$_defaultTransport;
}
Comments
Posted by Alrik Zachert (az) on 2011-12-08T03:09:20.000+0000
fixed. can be pulled here: https://github.com/zendframework/zf2/pull/654
thanks
Posted by Alrik Zachert (az) on 2011-12-09T11:02:00.000+0000
See: reason.