summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--includes/plugins.inc1
-rw-r--r--page_manager/plugins/tasks/term_view.inc4
2 files changed, 5 insertions, 0 deletions
diff --git a/includes/plugins.inc b/includes/plugins.inc
index dec66a0..f41c12c 100644
--- a/includes/plugins.inc
+++ b/includes/plugins.inc
@@ -64,6 +64,7 @@ function ctools_plugin_api_info($owner, $api, $minimum_version, $current_version
foreach (module_implements($hook) as $module) {
$function = $module . '_' . $hook;
$info = $function($owner, $api);
+ $version = NULL;
// This is added to make hook_views_api() compatible with this, since
// views used a different version key.
if (isset($info['version'])) {
diff --git a/page_manager/plugins/tasks/term_view.inc b/page_manager/plugins/tasks/term_view.inc
index fc8944a..6933a54 100644
--- a/page_manager/plugins/tasks/term_view.inc
+++ b/page_manager/plugins/tasks/term_view.inc
@@ -107,6 +107,10 @@ function page_manager_term_view_menu_alter(&$items, $task) {
* term view, which is term_page_view().
*/
function page_manager_term_view_page($term) {
+ // Assign the term name as the page title, just as the original page
+ // callback did.
+ drupal_set_title($term->name);
+
// While we ordinarily should never actually get feeds through here,
// just in case
// Load my task plugin