Empty title always returned when using displays

douggreen - June 16, 2008 - 20:52
Project:Panels
Version:5.x-2.0-beta5
Component:Panel pages
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

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

AttachmentSize
title.patch847 bytes

#1

sdboyer - July 8, 2008 - 06:19

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.

#2

sdboyer - July 8, 2008 - 06:22
Status:reviewed & tested by the community» fixed

OK, committed. Thanks!

#3

Anonymous (not verified) - July 23, 2008 - 10:56
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.