Closed (fixed)
Project:
Fieldable Panels Panes (FPP)
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Sep 2012 at 14:11 UTC
Updated:
25 Sep 2012 at 16:01 UTC
See #1781264: Rendering panes that do not have $block->title defined causes a PHP notice.
Fieldable panel panes do not always define $block->title:
$block = new stdClass();
if (empty($settings['extra_fields']['display']) || !empty($settings['extra_fields']['display']['title']['default']['visible'])) {
$block->title = !empty($entity->title) ? filter_xss_admin($entity->title) : '';
}
// If the above if fails, the $block->title is never set.
Comments
Comment #1
dave reidActually looks like this was fixed with http://drupalcode.org/project/fieldable_panels_panes.git/commit/690fb89