moriyoshi                                Fri, 24 Jul 2009 23:44:43 +0000

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

Log:
- Probably harmless, but it should have been done this way.

Changed paths:
    U   php/php-src/trunk/ext/mbstring/mb_gpc.c

Modified: php/php-src/trunk/ext/mbstring/mb_gpc.c
===================================================================
--- php/php-src/trunk/ext/mbstring/mb_gpc.c     2009-07-24 23:01:22 UTC (rev 
284725)
+++ php/php-src/trunk/ext/mbstring/mb_gpc.c     2009-07-24 23:44:43 UTC (rev 
284726)
@@ -59,7 +59,7 @@
        enum mbfl_no_encoding detected;
        php_mb_encoding_handler_info_t info;

-       {
+       if (arg != PARSE_STRING) {
                char *value = zend_ini_string("mbstring.internal_encoding", 
sizeof("mbstring.internal_encoding"), 0);
                _php_mb_ini_mbstring_internal_encoding_set(value, value ? 
strlen(value): 0 TSRMLS_CC);
        }

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

Reply via email to