From: Antony Dovgal Date: Fri, 12 Sep 2008 10:30:18 +0000 (+0000) Subject: fix typo X-Git-Tag: BEFORE_HEAD_NS_CHANGE~421 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=63ffff111c60b7d408b54a44987e5821e9d49c5b;p=php fix typo test before commit! --- diff --git a/ext/standard/file.c b/ext/standard/file.c index 1fbca56211..bd407d2c4d 100644 --- a/ext/standard/file.c +++ b/ext/standard/file.c @@ -2053,7 +2053,7 @@ PHP_FUNCTION(fputcsv) count = zend_hash_num_elements(Z_ARRVAL_P(fields)); zend_hash_internal_pointer_reset_ex(Z_ARRVAL_P(fields), &pos); - while (zend_hash_get_current_data_ex(Z_ARRVAL_P(fields), (void **) &field, &pos) == SUCCESS) { + while (zend_hash_get_current_data_ex(Z_ARRVAL_P(fields), (void **) &field_tmp, &pos) == SUCCESS) { field = **field_tmp; if (Z_TYPE_PP(field_tmp) != IS_STRING) {