]> granicus.if.org Git - php/commitdiff
Fix bug #61409 (Bad formatting on phpinfo()). Patch by Jakub Vrana.
authorAdam Harvey <aharvey@php.net>
Fri, 16 Mar 2012 02:07:46 +0000 (02:07 +0000)
committerAdam Harvey <aharvey@php.net>
Fri, 16 Mar 2012 02:07:46 +0000 (02:07 +0000)
NEWS
ext/standard/info.c

diff --git a/NEWS b/NEWS
index c79b1ba96689a09ea69e38df35e192af73e85d28..02a1d4b94dfce6eebf78bfa1adb52a62a1d74f7a 100644 (file)
--- 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)
index bc2abcb8f1b48f72d73fe8c7c227f4a185bb9351..07e152874a354cb1858c92f406c7d958f4184567 100644 (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);
                        }