summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--includes/common.inc1
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;
}