Skip to content

Commit 479dcec

Browse files
committed
fixup
1 parent 452b092 commit 479dcec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/mbstring/mbstring.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2124,7 +2124,7 @@ PHP_FUNCTION(mb_stripos)
21242124
RETURN_THROWS();
21252125
}
21262126

2127-
enc = php_mb_get_encoding(from_encoding);
2127+
enc = php_mb_get_encoding(from_encoding, 4);
21282128
if (!enc) {
21292129
RETURN_THROWS();
21302130
}
@@ -2154,7 +2154,7 @@ PHP_FUNCTION(mb_strripos)
21542154
RETURN_THROWS();
21552155
}
21562156

2157-
enc = php_mb_get_encoding(from_encoding);
2157+
enc = php_mb_get_encoding(from_encoding, 4);
21582158
if (!enc) {
21592159
RETURN_THROWS();
21602160
}

0 commit comments

Comments
 (0)