From 63ffff111c60b7d408b54a44987e5821e9d49c5b Mon Sep 17 00:00:00 2001 From: Antony Dovgal Date: Fri, 12 Sep 2008 10:30:18 +0000 Subject: [PATCH] fix typo test before commit! --- ext/standard/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.50.1