Commit 7e834804 authored by Nigel McNie's avatar Nigel McNie Committed by Nigel McNie
Browse files

Corrected the name of the 'loggedin' preset.

parent 4bfd553b
......@@ -40,7 +40,7 @@ function pieform_render_viewacl($element, Pieform $form) {
$value = $form->get_value($element);
// Look for the presets and split them into two groups
$presets = array('public', 'any', 'friends');
$presets = array('public', 'loggedin', 'friends');
if ($value) {
foreach ($value as &$item) {
if (in_array($item['type'], $presets)) {
......
Supports Markdown
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