diff options
Diffstat (limited to 'views/default/input/access.php')
-rw-r--r-- | views/default/input/access.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/views/default/input/access.php b/views/default/input/access.php index e93b47cd1..2515180ce 100644 --- a/views/default/input/access.php +++ b/views/default/input/access.php @@ -30,6 +30,9 @@ if (!array_key_exists('value', $vars) || $vars['value'] == ACCESS_DEFAULT) { $vars['value'] = get_default_access(); } +if (!isset($vars['value']) || $vars['value'] === FALSE) { + $vars['value'] = elgg_get_sticky_value($vars['internalname']); +} if ((!isset($vars['options'])) || (!is_array($vars['options']))) { $vars['options'] = array(); |