summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Boyer2008-09-01 00:17:28 (GMT)
committer Sam Boyer2008-09-01 00:17:28 (GMT)
commit350a50b35fd76b1359fc6624cb5d2c934ea87cf0 (patch)
tree966bc4e10ca38b410bf61e4b3d263ac5dfef9774
parenteed01932b419c2a0df55577df4ded34a374b3aa5 (diff)
Stupid (evidently) unncessary call to panels_context_load_contexts() seems to have been the whole problem. Contexts are now being loaded properly...YAAAAAAAR!!!!!!!
This means we may well be ready for the first alpha release...
-rw-r--r--panels_page/panels_page.render.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/panels_page/panels_page.render.inc b/panels_page/panels_page.render.inc
index e84700e..a2ce2e3 100644
--- a/panels_page/panels_page.render.inc
+++ b/panels_page/panels_page.render.inc
@@ -32,8 +32,8 @@ function panels_page_prepare_panels_render(&$load, &$panel_page, $args) {
function _panels_page_prepare_panels_render(&$panel_page) {
_panels_page_check_switchers($panel_page);
- // $panel_page->context = panels_context_load_contexts($panel_page, FALSE, $panel_page->context);
- $panel_page->context = panels_context_load_contexts($panel_page);
+ // $panel_page->context = panels_context_load_contexts($panel_page, FALSE, $panel_page->contexts);
+ // $panel_page->context = panels_context_load_contexts($panel_page);
// If we're wrapping FAPI with with panel, this function gets the data.
$panel_page->form = panels_context_get_form($panel_page->context);
// Get any keywords (for title substitution in panes)