mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Remove unused variable err in mb_send_mail() (#11285)
This commit is contained in:
@@ -4211,7 +4211,6 @@ PHP_FUNCTION(mb_send_mail)
|
||||
*head_enc, /* header transfer encoding */
|
||||
*body_enc; /* body transfer encoding */
|
||||
const mbfl_language *lang;
|
||||
int err = 0;
|
||||
HashTable ht_headers;
|
||||
zval *s;
|
||||
|
||||
@@ -4426,7 +4425,7 @@ PHP_FUNCTION(mb_send_mail)
|
||||
extra_cmd = php_escape_shell_cmd(ZSTR_VAL(extra_cmd));
|
||||
}
|
||||
|
||||
RETVAL_BOOL(!err && php_mail(to_r, ZSTR_VAL(subject), message, ZSTR_VAL(str_headers), extra_cmd ? ZSTR_VAL(extra_cmd) : NULL));
|
||||
RETVAL_BOOL(php_mail(to_r, ZSTR_VAL(subject), message, ZSTR_VAL(str_headers), extra_cmd ? ZSTR_VAL(extra_cmd) : NULL));
|
||||
|
||||
if (extra_cmd) {
|
||||
zend_string_release_ex(extra_cmd, 0);
|
||||
|
||||
Reference in New Issue
Block a user