Skip to content

Commit e6abca4

Browse files
authored
Use helper macro in ext/exif (#14352)
1 parent 0f64901 commit e6abca4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/exif/exif.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ PHP_MINFO_FUNCTION(exif)
7373
php_info_print_table_row(2, "Supported EXIF Version", "0220");
7474
php_info_print_table_row(2, "Supported filetypes", "JPEG, TIFF");
7575

76-
if (zend_hash_str_exists(&module_registry, "mbstring", sizeof("mbstring")-1)) {
76+
if (USE_MBSTRING) {
7777
php_info_print_table_row(2, "Multibyte decoding support using mbstring", "enabled");
7878
} else {
7979
php_info_print_table_row(2, "Multibyte decoding support using mbstring", "disabled");

0 commit comments

Comments
 (0)