Brand new site, skinr installed and enabled, but not configured especially. The code in question is the second line in the function below:

function panels_skinr_preprocess_index_handler(&$vars) {
  $index = '';
  if ($vars['pane']->style['style'] == 'skinr') {
    $index =  'display-'. $vars['pane']->did .'-pane-'. $vars['pane']->pid;
  }
  return $index;
}

I guess it needs to check if it's set before comparing, to be E_NOTICE clean.

CommentFileSizeAuthor
#1 skinr-notice.patch555 byteslyricnz

Comments

lyricnz’s picture

Status: Active » Needs review
StatusFileSize
new555 bytes

Patch attached, that also fixes a whitespace issue on the following line.

jacine’s picture

Status: Needs review » Fixed

Committed ;) Thanks!

Status: Fixed » Closed (fixed)

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