summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Boyer2009-05-26 04:50:34 (GMT)
committer Sam Boyer2009-05-26 04:50:34 (GMT)
commit5c9ba5ce56b93b4de4e861fd57fc054ea8f4fe83 (patch)
tree281fd4778ad304837b4c747b2f1fa93e22fd9ebd
parent4ee7e65d157b09337916239bd179f8a63b22295f (diff)
#446396: When "From Panel" arguments were not present, view titles were being constructed incorrectly.
-rw-r--r--panels_views/panels_views.module5
1 files changed, 4 insertions, 1 deletions
diff --git a/panels_views/panels_views.module b/panels_views/panels_views.module
index 6b7e0ea..c6685b8 100644
--- a/panels_views/panels_views.module
+++ b/panels_views/panels_views.module
@@ -782,7 +782,10 @@ function panels_views_render($conf, $panel_args, &$contexts) {
break;
case 'panel':
- $args[] = $panel_args[$data['panel']];
+ // Only fill $args if a panel arg was passed in that belongs there
+ if (array_key_exists($data['panel'], $panel_args)) {
+ $args[] = $panel_args[$data['panel']];
+ }
break;
case 'user':