From: jim winstead Date: Mon, 8 Oct 2001 21:51:12 +0000 (+0000) Subject: handle 'I' field type, just another name for the 'N' field type (patch X-Git-Tag: PRE_PARAMETER_PARSING_API~28 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6fab353df1ae415040a55e38c6704075ec10e166;p=php handle 'I' field type, just another name for the 'N' field type (patch from Landon Bradshaw ) --- diff --git a/ext/dbase/dbase.c b/ext/dbase/dbase.c index 598521695a..021d855d0d 100644 --- a/ext/dbase/dbase.c +++ b/ext/dbase/dbase.c @@ -473,6 +473,7 @@ PHP_FUNCTION(dbase_get_record) case 'D': add_next_index_string(return_value, str_value, 1); break; + case 'I': /* FALLS THROUGH */ case 'N': if (cur_f->db_fdc == 0) { add_next_index_long(return_value, strtol(str_value, NULL, 10)); @@ -564,6 +565,7 @@ PHP_FUNCTION(dbase_get_record_with_names) case 'D': add_assoc_string(return_value, cur_f->db_fname, str_value, 1); break; + case 'I': /* FALLS THROUGH */ case 'N': if (cur_f->db_fdc == 0) { add_assoc_long(return_value, cur_f->db_fname, strtol(str_value, NULL, 10));