Commit c61c6ac0 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Ensure profile views are imported with logged-in user access


Signed-off-by: default avatarRichard Mansfield <richardm@catalyst.net.nz>
parent bfec1fe8
......@@ -1692,6 +1692,16 @@ class View {
$col++;
}
if ($viewdata['type'] == 'profile') {
$view->set_access(array(
array(
'type' => 'loggedin',
'startdate' => null,
'stopdate' => null,
),
));
}
return $view;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment