From: Adam Harvey Date: Fri, 16 Mar 2012 02:07:46 +0000 (+0000) Subject: Fix bug #61409 (Bad formatting on phpinfo()). Patch by Jakub Vrana. X-Git-Tag: PHP-5.4.1-RC1~33 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9aec9ccd7ca2ab5f5a9f74b533591259d318c262;p=php Fix bug #61409 (Bad formatting on phpinfo()). Patch by Jakub Vrana. --- diff --git a/NEWS b/NEWS index c79b1ba966..02a1d4b94d 100644 --- a/NEWS +++ b/NEWS @@ -96,6 +96,7 @@ PHP NEWS - Standard: . Fixed memory leak in substr_replace. (Pierrick) . Make max_file_uploads ini directive settable outside of php.ini (Rasmus) + . Fixed bug #61409 (Bad formatting on phpinfo()). (Jakub Vrana) . Fixed bug #60222 (time_nanosleep() does validate input params). (Ilia) . Fixed bug #60106 (stream_socket_server silently truncates long unix socket paths). (Ilia) diff --git a/ext/standard/info.c b/ext/standard/info.c index bc2abcb8f1..07e152874a 100644 --- a/ext/standard/info.c +++ b/ext/standard/info.c @@ -117,7 +117,7 @@ static void php_info_print_stream_hash(const char *name, HashTable *ht TSRMLS_DC HashPosition pos; if (!sapi_module.phpinfo_as_text) { - php_info_printf("Registered %s", name); + php_info_printf("Registered %s", name); } else { php_info_printf("\nRegistered %s => ", name); }