summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEarl Miles2013-02-01 19:26:24 (GMT)
committer Earl Miles2013-02-01 19:26:24 (GMT)
commit535ac5f2afb6b15e94cde54dccdcc1fa713a4ac4 (patch)
tree751448bf0e01a5f9a31007f7cf1b254edb73c30c
parenteac315873403712fdc1709cab678b2dcdef91b03 (diff)
Issue #1803720 by Peacog and Stefan Vaduva: Fix for unsupported operand types when using print mode with panel nodes.
-rw-r--r--panels.module4
1 files changed, 3 insertions, 1 deletions
diff --git a/panels.module b/panels.module
index 5a4fa4e..905ff37 100644
--- a/panels.module
+++ b/panels.module
@@ -1230,7 +1230,9 @@ function template_preprocess_panels_pane(&$vars) {
}
$element = contextual_pre_render_links($element);
- $links += $element['#links'];
+ if(!empty($element['#links'])) {
+ $links += $element['#links'];
+ }
}
if ($links) {