_panels_page_get_title returns an empty title when you use a panels display. Use use empty() instead of isset().

CommentFileSizeAuthor
title.patch847 bytesdouggreen

Comments

sdboyer’s picture

Thanks, and sorry I only picked this up now. This same issue got brought to my attention today (see #279528: Panels 2 - Context Arguments - Title Getting Title for the node context does not show), but I'm going to use this slightly more cautious double-conditional fix, as it's less likely to break the obscure edge cases that I've not anticipated.

Of course...EVERY time we change anything in here, something goes wrong...god I can't wait for this to be all fixed.

sdboyer’s picture

Status: Reviewed & tested by the community » Fixed

OK, committed. Thanks!

Anonymous’s picture

Status: Fixed » Closed (fixed)

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