aharvey                                  Fri, 16 Mar 2012 02:07:46 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=324289

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

Bug: https://bugs.php.net/61409 (Assigned) Bad formatting on php_info()
      
Changed paths:
    U   php/php-src/branches/PHP_5_4/NEWS
    U   php/php-src/branches/PHP_5_4/ext/standard/info.c
    U   php/php-src/trunk/ext/standard/info.c

Modified: php/php-src/branches/PHP_5_4/NEWS
===================================================================
--- php/php-src/branches/PHP_5_4/NEWS   2012-03-15 23:17:06 UTC (rev 324288)
+++ php/php-src/branches/PHP_5_4/NEWS   2012-03-16 02:07:46 UTC (rev 324289)
@@ -96,6 +96,7 @@
 - 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)

Modified: php/php-src/branches/PHP_5_4/ext/standard/info.c
===================================================================
--- php/php-src/branches/PHP_5_4/ext/standard/info.c    2012-03-15 23:17:06 UTC 
(rev 324288)
+++ php/php-src/branches/PHP_5_4/ext/standard/info.c    2012-03-16 02:07:46 UTC 
(rev 324289)
@@ -117,7 +117,7 @@
                        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);
                        }

Modified: php/php-src/trunk/ext/standard/info.c
===================================================================
--- php/php-src/trunk/ext/standard/info.c       2012-03-15 23:17:06 UTC (rev 
324288)
+++ php/php-src/trunk/ext/standard/info.c       2012-03-16 02:07:46 UTC (rev 
324289)
@@ -117,7 +117,7 @@
                        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);
                        }

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to