Skip to content

Commit

Permalink
Cleaner check for no server caps
Browse files Browse the repository at this point in the history
  • Loading branch information
Synchro committed Mar 6, 2015
1 parent d89d3b0 commit 27cc552
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion class.smtp.php
Original file line number Diff line number Diff line change
Expand Up @@ -725,7 +725,7 @@ protected function parseHelloFields($type)
continue;
}
$fields = explode(' ', $s);
if ($fields) {
if (!empty($fields)) {
if (!$n) {
$name = $type;
$fields = $fields[0];
Expand Down

0 comments on commit 27cc552

Please sign in to comment.