diff --git a/modules/uc_catalog.page_title.inc b/modules/uc_catalog.page_title.inc index 3bd9910c5da19175c1e8f3d4248d1dcb7193d6fe..2562c6ebc7e8cb91224184b181c3e9a77d7dae8d 100644 --- a/modules/uc_catalog.page_title.inc +++ b/modules/uc_catalog.page_title.inc @@ -41,8 +41,8 @@ function uc_catalog_page_title_pattern_alter(&$pattern, &$types) { if ( !strncmp($menu_item['path'], 'catalog', 7) && isset($menu_item['page_arguments'][0]) && ($term = taxonomy_term_load($menu_item['page_arguments'][0])) ) { - $types['taxonomy'] = $term; - $pattern = variable_get('page_title_uc_catalog_' . $types['taxonomy']->vid, ''); + $types['term'] = $term; + $pattern = variable_get('page_title_uc_catalog_' . $types['term']->vid, ''); } } @@ -58,7 +58,7 @@ function uc_catalog_page_title_settings() { $settings['page_title_uc_catalog_' . $vocab->vid] = array( 'label' => 'Ubercart Catalog - %vocab_name', 'label arguments' => array('%vocab_name' => $vocab->name), - 'scopes' => array('global', 'taxonomy'), + 'scopes' => array('global', 'term'), 'show field' => FALSE, 'description' => 'This pattern will be used for all %vocab_name Ubercart catalog pages.<br />' . 'The Show Field setting does not apply here. Use the matching Vocabulary row.',