Page titles (for non-node pages) are not showing up when title value is not set in hook_menu() or when title is changed using drupal_set_title().

Line 492:
$node->title = menu_get_active_title();

I changed it to:
$node->title = drupal_get_title();

It seems to work for me now.

Sorry, I don't have time to roll a patch at this moment and it hardly seemed worth it.

Comments

jcnventura’s picture

Status: Active » Fixed

Hi,

Thanks for the patch.

Since drupal_get_title() calls menu_get_active_title() when it can't find a title set by drupal_set_title(), I guess it's perfectly safe to make the suggested change.

I have committed it to the dev version.

João

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.