Skip to content

Commit f55bed9

Browse files
committed
Fixed Bug #63126 DISABLE_AUTHENTICATOR ignores array
1 parent 8a84b1b commit f55bed9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/imap/php_imap.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1191,7 +1191,7 @@ static void php_imap_do_open(INTERNAL_FUNCTION_PARAMETERS, int persistent)
11911191
if (zend_hash_index_find(Z_ARRVAL_PP(disabled_auth_method), i, (void **) &z_auth_method) == SUCCESS) {
11921192
if (Z_TYPE_PP(z_auth_method) == IS_STRING) {
11931193
if (Z_STRLEN_PP(z_auth_method) > 1) {
1194-
mail_parameters (NIL, DISABLE_AUTHENTICATOR, (void *)Z_STRVAL_PP(disabled_auth_method));
1194+
mail_parameters (NIL, DISABLE_AUTHENTICATOR, (void *)Z_STRVAL_PP(z_auth_method));
11951195
}
11961196
} else {
11971197
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid argument, expect string or array of strings");

0 commit comments

Comments
 (0)