Skip to content

Commit

Permalink
Merge pull request PHPMailer#320 from hemmerich/patch-1
Browse files Browse the repository at this point in the history
Update class.smtp.php
  • Loading branch information
Synchro committed Nov 24, 2014
2 parents 70930a6 + 1ec37ad commit 58c862c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion class.smtp.php
Expand Up @@ -730,7 +730,7 @@ protected function parseHelloFields($type)
} else {
$name = array_shift($fields);
if ($name == 'SIZE') {
$fields = $fields[0];
$fields = ($fields) ? $fields[0] : 0;
}
}
$this->server_caps[$name] = ($fields ? $fields : true);
Expand Down

0 comments on commit 58c862c

Please sign in to comment.