\drupal_get_title
function
Gets the title of the current page.

Gets the title of the current page.

The title is displayed on the page and in the title bar.

Comments

AbqSteve’s picture

It's worth noting that if the entity translation and title modules are enabled, the title will be returned in the current page's language.

vvmspace’s picture

Fix it:
if (empty($title) && function_exists('menu_get_active_title')) {
...
}