[BUGFIX] Faulty check for missing SMTP port 04/23504/5
authorTomita Militaru <militarutomita@gmail.com>
Sat, 31 Aug 2013 07:56:41 +0000 (10:56 +0300)
committerStefan Neufeind <typo3.neufeind@speedpartner.de>
Sat, 31 Aug 2013 22:08:46 +0000 (00:08 +0200)
commitf9ad22701ba5454eef10bcddd81e7e1f9b3f8a1b
treeba46b220f90969dff6f3f8a5c38a9b1cf4ae9b40
parenteb7aa0bcb78e74fbd293fba72b05286022d5aaee
[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/23504
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
typo3/sysext/core/Classes/Mail/Mailer.php
typo3/sysext/core/Tests/Unit/Mail/MailerTest.php