From 7247aa7efe0bc5d5154179f589339e59bf7afdf3 Mon Sep 17 00:00:00 2001 From: Niels Dossche <7771979+nielsdos@users.noreply.github.com> Date: Tue, 28 May 2024 22:59:48 +0200 Subject: [PATCH] Use helper macro in ext/exif --- ext/exif/exif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/exif/exif.c b/ext/exif/exif.c index aa83fd969ef42..72a6673d4a5ce 100644 --- a/ext/exif/exif.c +++ b/ext/exif/exif.c @@ -73,7 +73,7 @@ PHP_MINFO_FUNCTION(exif) php_info_print_table_row(2, "Supported EXIF Version", "0220"); php_info_print_table_row(2, "Supported filetypes", "JPEG, TIFF"); - if (zend_hash_str_exists(&module_registry, "mbstring", sizeof("mbstring")-1)) { + if (USE_MBSTRING) { php_info_print_table_row(2, "Multibyte decoding support using mbstring", "enabled"); } else { php_info_print_table_row(2, "Multibyte decoding support using mbstring", "disabled");