Active
Project:
Page Title
Version:
6.x-2.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Oct 2009 at 06:58 UTC
Updated:
27 Oct 2009 at 06:58 UTC
Hi, sorry for my English.
I'm using "page title" and "node breadcrumb" together. I have error: page title use default format.
I found error in this code:
// Node (either node or comment reply)
if ((arg(0) == 'node' && is_numeric(arg(1))) || (arg(0) == 'comment' && arg(1) == 'reply' && is_numeric(arg(2)) && module_exists('comment')) ) {
$types['node'] = menu_get_object();
$page_title_pattern = variable_get('page_title_type_'. $types['node']->type, '');
}
menu_get_object() - return NULL