]> granicus.if.org Git - php/commitdiff
fix typo
authorAntony Dovgal <tony2001@php.net>
Fri, 12 Sep 2008 10:30:18 +0000 (10:30 +0000)
committerAntony Dovgal <tony2001@php.net>
Fri, 12 Sep 2008 10:30:18 +0000 (10:30 +0000)
test before commit!

ext/standard/file.c

index 1fbca562118e52fd67f6db36a98fae939b046374..bd407d2c4d1bebc5950d2023be5d2e1aaff446f9 100644 (file)
@@ -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) {