diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-10-29 07:23:38 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-10-29 07:23:38 +0000 |
commit | fc81470ff38e17dec8043f1615a7690885e383e0 (patch) | |
tree | cc293bee66b6e1aa3c781821d95e90893896503c /modules/field_ui/field_ui.module | |
parent | 374fbf713fb8eb991ca7fc517ce0b7768909ec14 (diff) | |
download | brdo-fc81470ff38e17dec8043f1615a7690885e383e0.tar.gz brdo-fc81470ff38e17dec8043f1615a7690885e383e0.tar.bz2 |
#617532 by matt2000: Fixed field_ui() menu paths with underscores in content type names.
Diffstat (limited to 'modules/field_ui/field_ui.module')
-rw-r--r-- | modules/field_ui/field_ui.module | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/field_ui/field_ui.module b/modules/field_ui/field_ui.module index a9e5cc1ed..c4863527e 100644 --- a/modules/field_ui/field_ui.module +++ b/modules/field_ui/field_ui.module @@ -135,6 +135,7 @@ function field_ui_menu() { * Menu loader; Load a field instance based on its name. */ function field_ui_menu_load($field_name, $obj_type, $bundle_name) { + $bundle_name = strtr($bundle_name, array('-' => '_')); if ($instance = field_info_instance($obj_type, $field_name, $bundle_name)) { return $instance; } |