]> granicus.if.org Git - php/commitdiff
Fixed bug #35046 (phpinfo() uses improper css enclosure).
authorIlia Alshanetsky <iliaa@php.net>
Wed, 23 Nov 2005 00:15:08 +0000 (00:15 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Wed, 23 Nov 2005 00:15:08 +0000 (00:15 +0000)
NEWS
ext/standard/info.c

diff --git a/NEWS b/NEWS
index 77fe45f7fed9dd91ab9d3a333ebcc48bc8951de2..e495b497ea1b4ac407c720a2f42b37f18a1fb5bb 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -9,6 +9,7 @@ PHP                                                                        NEWS
 - Fixed bug #35243 (php_mblen() crashes when compiled with thread-safety
   on Linux). (Patch: shulmanb at il dot ibm dot com, Jani)
 - Fixed bug #35143 (gettimeofday() ignores current time zone). (Derick)
+- Fixed bug #35046 (phpinfo() uses improper css enclosure). (Ilia)
 - Fixed bug #33153 (crash in mssql_next result). (Frank)
 - Fixed bug #33963 (mssql_bind() fails on input parameters). (Frank)
 - Fixed bug #33201 (Crash when fetching some data types). (Frank)
index e8f4042eca9ddcb2a20829d46b403fd4d8702e35..6583bdbe9bbcc397e9a17345a6c7b55aaea5e2fc 100644 (file)
@@ -203,9 +203,9 @@ static void php_print_gpcse_array(char *name, uint name_length TSRMLS_DC)
  */
 void php_info_print_style(TSRMLS_D)
 {
-       php_printf("<style type=\"text/css\"><!--\n");
+       php_printf("<style type=\"text/css\">\n");
        php_info_print_css(TSRMLS_C);
-       php_printf("//--></style>\n");
+       php_printf("</style>\n");
 }
 /* }}} */