aboutsummaryrefslogtreecommitdiff
path: root/views/default/user/settings/default_access.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/user/settings/default_access.php')
-rw-r--r--views/default/user/settings/default_access.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/user/settings/default_access.php b/views/default/user/settings/default_access.php
index 30f3da8b6..c557fd09d 100644
--- a/views/default/user/settings/default_access.php
+++ b/views/default/user/settings/default_access.php
@@ -6,7 +6,7 @@
* @subpackage Core
*/
if ($vars['config']->allow_user_default_access) {
- $user = page_owner_entity();
+ $user = elgg_get_page_owner();
if ($user) {
if (false === ($default_access = $user->getPrivateSetting('elgg_default_access'))) {