From 6c6088e492d93b1475eb629430cc33af62dc5d70 Mon Sep 17 00:00:00 2001 From: David Rothstein Date: Mon, 12 Oct 2015 02:28:25 -0400 Subject: Issue #2494403 by tonystar: $field_types is not initialized in drupal_schema_field_types() --- includes/common.inc | 1 + 1 file changed, 1 insertion(+) (limited to 'includes') diff --git a/includes/common.inc b/includes/common.inc index 5268fd830..bf187dbb9 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -7165,6 +7165,7 @@ function _drupal_schema_initialize(&$schema, $module, $remove_descriptions = TRU */ function drupal_schema_field_types($table) { $table_schema = drupal_get_schema($table); + $field_types = array(); foreach ($table_schema['fields'] as $field_name => $field_info) { $field_types[$field_name] = isset($field_info['type']) ? $field_info['type'] : NULL; } -- cgit v1.2.3