Previous row says
$theme = $themes[$current_theme];

My Solution
$theme=null;
if ($current_theme)
if (array_key_exists($current_theme,$themes))
$theme = $themes[$current_theme];

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

arne_hortell’s picture

arne_hortell’s picture

Status: Active » Fixed

See patch #1

Status: Fixed » Closed (fixed)

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