summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEarl Miles2011-09-07 19:27:28 (GMT)
committer Earl Miles2011-09-07 19:27:28 (GMT)
commit7b1a1df576939d971612f6104ebfa4a1c15bab31 (patch)
treead7e885e3ec23b2b7d48b054839c478f874452aa
parent74cd7b52887f39fa8a7d1652f91ea8f1e51af017 (diff)
Issue #1251474 by DamienMcKenna: Fix notice in http response.
-rw-r--r--page_manager/plugins/task_handlers/http_response.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/page_manager/plugins/task_handlers/http_response.inc b/page_manager/plugins/task_handlers/http_response.inc
index ba549b4..9743f79 100644
--- a/page_manager/plugins/task_handlers/http_response.inc
+++ b/page_manager/plugins/task_handlers/http_response.inc
@@ -129,9 +129,9 @@ function page_manager_http_response_admin_summary($handler, $task, $subtask, $pa
$plugin = page_manager_get_task_handler($handler->handler);
$object = ctools_context_handler_get_task_object($task, $subtask, $handler);
- $display->context = ctools_context_load_contexts($object, TRUE);
+ $context = ctools_context_load_contexts($object, TRUE);
- $access = ctools_access_group_summary(!empty($handler->conf['access']) ? $handler->conf['access'] : array(), $display->context);
+ $access = ctools_access_group_summary(!empty($handler->conf['access']) ? $handler->conf['access'] : array(), $context);
if ($access) {
$access = t('This panel will be selected if @conditions.', array('@conditions' => $access));
}