[BUGFIX] Faulty check for missing SMTP port 15/23515/2
authorTomita Militaru <militarutomita@gmail.com>
Sat, 31 Aug 2013 07:56:41 +0000 (10:56 +0300)
committerWouter Wolters <typo3@wouterwolters.nl>
Sun, 1 Sep 2013 14:33:28 +0000 (16:33 +0200)
commita979e7848b482bccc2a9111983d89e9c15b48a8f
tree114909d3cb5aadc72d2d17f977b8b4bf708ce1f2
parent55dffd7000ea8016436c6369838d7d2fd2b6ba84
[BUGFIX] Faulty check for missing SMTP port

Check also for null port to avoid a fatal error.

Resolves: #31998
Releases: 6.2, 6.1, 6.0, 4.7, 4.5
Change-Id: Ibf45b3c0783a70e5afba33f90d1d8e05f76834cf
Reviewed-on: https://review.typo3.org/23515
Reviewed-by: Tomita Militaru
Tested-by: Tomita Militaru
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
typo3/sysext/core/Classes/Mail/Mailer.php
typo3/sysext/core/Tests/Unit/Mail/MailerTest.php