fixed undefined index issue in hook_panels_pane_content_alter