I have a custom panel page somewhere in my path trail and breadcrumbs_by_path displays an empty title in the trail where the panel's title should be.

It's strange because _breadcrumbs_by_path_build_trail should be able to create a "fake" title from the url portion, but this fails in the following if statement that evaluates to TRUE, but $item['title'] is empty:

if ($item['path'] == $last_arg) {
  $trail[$i]['title'] = $item['title'];
}

I'll check to see why $item['title'] is empty, perhaps this is the panel module's fault..

Comments

PascalAnimateur created an issue. See original summary.

PascalAnimateur’s picture

Status: Active » Needs review
StatusFileSize
new595 bytes

Temporary patch to check for empty $item['title'] which works in my case.
This shouldn't break anything..