diff options
author | David Rothstein <drothstein@gmail.com> | 2015-10-12 02:28:25 -0400 |
---|---|---|
committer | David Rothstein <drothstein@gmail.com> | 2015-10-12 02:28:25 -0400 |
commit | 6c6088e492d93b1475eb629430cc33af62dc5d70 (patch) | |
tree | f64cafda2938103359a68529b2bab493de190246 /includes | |
parent | e67dfa572cde8575162c03594c168183efda0849 (diff) | |
download | brdo-6c6088e492d93b1475eb629430cc33af62dc5d70.tar.gz brdo-6c6088e492d93b1475eb629430cc33af62dc5d70.tar.bz2 |
Issue #2494403 by tonystar: $field_types is not initialized in drupal_schema_field_types()
Diffstat (limited to 'includes')
-rw-r--r-- | includes/common.inc | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |