summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfrobinrobin2017-02-04 04:20:11 (GMT)
committerJakob Perry2017-02-04 04:20:11 (GMT)
commitc539c4f7f23e157bf0a678d03d1cbee98d8ca6a3 (patch)
treecc2d61ea01730e30001401d93fa62fde421854cb
parent28f33d4635f882d5158c0dab8276f094cea47d61 (diff)
Issue #2609528 by frobinrobin: Node Edit Panel: Cannot use object of type ctools_context as array
-rw-r--r--panels.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/panels.module b/panels.module
index 6a5d1ff..83658c4 100644
--- a/panels.module
+++ b/panels.module
@@ -1176,7 +1176,7 @@ function panels_render_display(&$display, $renderer = NULL) {
if ($form_context = ctools_context_get_form($display->context)) {
$form_context->form['#theme'] = 'panels_render_display_form';
if (empty($form_context->form['#theme_wrappers']) || !in_array('form', $form_context->form['#theme_wrappers'])) {
- $form_context['#theme_wrappers'][] = 'form';
+ $form_context->form['#theme_wrappers'][] = 'form';
}
$form_context->form['#display'] = &$display;
return $form_context->form;