stas Sun May 10 20:58:26 2009 UTC Modified files: (Branch: PHP_5_3) /php-src/ext/intl intl_error.c Log: revent wrong part http://cvs.php.net/viewvc.cgi/php-src/ext/intl/intl_error.c?r1=1.1.2.3&r2=1.1.2.4&diff_format=u Index: php-src/ext/intl/intl_error.c diff -u php-src/ext/intl/intl_error.c:1.1.2.3 php-src/ext/intl/intl_error.c:1.1.2.4 --- php-src/ext/intl/intl_error.c:1.1.2.3 Sun May 10 19:10:36 2009 +++ php-src/ext/intl/intl_error.c Sun May 10 20:58:26 2009 @@ -173,9 +173,7 @@ */ void intl_error_set( intl_error* err, UErrorCode code, char* msg, int copyMsg TSRMLS_DC ) { - if(err) { - intl_error_set_code( err, code TSRMLS_CC ); - } + intl_error_set_code( err, code TSRMLS_CC ); intl_error_set_custom_msg( err, msg, copyMsg TSRMLS_CC ); } /* }}} */
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php