Commit f0b1473b authored by joseph.olstad's avatar joseph.olstad Committed by olstjos

Issue #2889284 by joseph.olstad, blasthaus: PHP Notice when new node has no 'summary' value set

parent db9ce051
......@@ -120,7 +120,7 @@ function media_wysiwyg_pre_render_text_format($element) {
$tagmap = array();
foreach (array('value', 'summary') as $column) {
if (isset($element[$column])) {
if (isset($element[$column]['#value'])) {
$tagmap += _media_wysiwyg_generate_tagMap($element[$column]['#value']);
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment