Skip to content

Commit 9aec9cc

Browse files
committed
Fix bug #61409 (Bad formatting on phpinfo()). Patch by Jakub Vrana.
1 parent 2dee9ec commit 9aec9cc

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

NEWS

+1
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ PHP NEWS
9696
- Standard:
9797
. Fixed memory leak in substr_replace. (Pierrick)
9898
. Make max_file_uploads ini directive settable outside of php.ini (Rasmus)
99+
. Fixed bug #61409 (Bad formatting on phpinfo()). (Jakub Vrana)
99100
. Fixed bug #60222 (time_nanosleep() does validate input params). (Ilia)
100101
. Fixed bug #60106 (stream_socket_server silently truncates long unix socket
101102
paths). (Ilia)

ext/standard/info.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ static void php_info_print_stream_hash(const char *name, HashTable *ht TSRMLS_DC
117117
HashPosition pos;
118118

119119
if (!sapi_module.phpinfo_as_text) {
120-
php_info_printf("<tr class=\"v\"><td>Registered %s</td><td>", name);
120+
php_info_printf("<tr><td class=\"e\">Registered %s</td><td class=\"v\">", name);
121121
} else {
122122
php_info_printf("\nRegistered %s => ", name);
123123
}

0 commit comments

Comments
 (0)