Fix bug #61409 (Bad formatting on phpinfo()). Patch by Jakub Vrana.

This commit is contained in:
Adam Harvey 2012-03-16 02:07:46 +00:00
parent 2dee9ec9f0
commit 9aec9ccd7c
2 changed files with 2 additions and 1 deletions

1
NEWS
View File

@ -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)

View File

@ -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("<tr class=\"v\"><td>Registered %s</td><td>", name);
php_info_printf("<tr><td class=\"e\">Registered %s</td><td class=\"v\">", name);
} else {
php_info_printf("\nRegistered %s => ", name);
}