There is a small error in the code of the function page_title_form_views_ui_config_item_form_alter() (line 682):

list($display_id, $section, $section_id) = explode('-', $form['#secton']);

should be

list($display_id, $section, $section_id) = explode('-', $form['#section']);

This fixes 3 PHP notices when configuring a view:

  • Notice : Undefined offset: 1 dans page_title_form...
  • Notice : Undefined offset: 2 dans page_title_form...
  • Notice : Undefined index: #secton dans page_title...
page_title-notices.patch605 bytesNewSky
Members fund testing for the Drupal project. Drupal Association Learn more


yanniboi’s picture

Assigned: Unassigned » yanniboi
yanniboi’s picture

Assigned: yanniboi » Unassigned
Status: Needs review » Reviewed & tested by the community

Have applied patch on a fresh install of drupal-7.15 with current version of page_title-7.x-2.x.

Patch works fine and problem is resolved.

Ready to commit.