diff --git a/includes/context.inc b/includes/context.inc index 93be748..72df52f 100644 --- a/includes/context.inc +++ b/includes/context.inc @@ -1401,7 +1401,7 @@ function ctools_get_relevant_access_plugins($contexts) { */ function ctools_access_get_loggedin_context() { global $user; - $context = ctools_context_create('entity:user', $user); + $context = ctools_context_create('entity:user', array('type' => 'current'), TRUE); $context->identifier = t('Logged in user'); $context->keyword = 'viewer'; $context->id = 0;