summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjoseph.olstad2017-06-29 11:40:19 (GMT)
committerolstjos2017-06-29 11:40:19 (GMT)
commitf0b1473b410b69df514c46ba43d7766cbe217f26 (patch)
treeb59b30bd2d7212f57786ecfed5e2ae3c5e2978dc
parentdb9ce05155b89d3499bf7c99e006375f88066177 (diff)
Issue #2889284 by joseph.olstad, blasthaus: PHP Notice when new node has no 'summary' value set
-rw-r--r--modules/media_wysiwyg/media_wysiwyg.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/media_wysiwyg/media_wysiwyg.module b/modules/media_wysiwyg/media_wysiwyg.module
index b2ad61e..9450697 100644
--- a/modules/media_wysiwyg/media_wysiwyg.module
+++ b/modules/media_wysiwyg/media_wysiwyg.module
@@ -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']);
}
}