From 6fab353df1ae415040a55e38c6704075ec10e166 Mon Sep 17 00:00:00 2001 From: jim winstead Date: Mon, 8 Oct 2001 21:51:12 +0000 Subject: [PATCH] handle 'I' field type, just another name for the 'N' field type (patch from Landon Bradshaw ) --- ext/dbase/dbase.c | 2 ++ 1 file changed, 2 insertions(+) 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)); -- 2.50.1