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 |
Jump to:
Description
_panels_page_get_title returns an empty title when you use a panels display. Use use empty() instead of isset().
| Attachment | Size |
|---|---|
| title.patch | 847 bytes |

#1
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
OK, committed. Thanks!
#3
Automatically closed -- issue fixed for two weeks with no activity.