diff --git a/panopoly_magic.module b/panopoly_magic.module index e75461d..fe4235a 100644 --- a/panopoly_magic.module +++ b/panopoly_magic.module @@ -1655,7 +1655,7 @@ function panopoly_magic_preprocess_panels_add_content_modal(&$vars) { 'attributes' => array('class' => array('use-ajax button')), 'html' => TRUE, ); - $widget_vars['title'] = l(t('Preview !widget widget', array('!widget' => filter_xss_admin($widget_vars['title']))), current_path(), $options); + $widget_vars['title'] = l(t('Preview !widget widget', array('!widget' => filter_xss_admin($widget_vars['title']))), current_path(), $options); } elseif ($use_preview == PANOPOLY_ADD_PREVIEW_AUTOMATIC || in_array($widget_vars['subtype_name'], $preview_panes)) { _panopoly_magic_render_preview_pane($widget_vars, $vars['renderer']); @@ -1675,7 +1675,7 @@ function panopoly_magic_preprocess_panels_add_content_modal(&$vars) { ), 'html' => TRUE, ); - $widget_vars['preview'] = ''; + $widget_vars['preview'] = ''; } } }