diff options
Diffstat (limited to 'pages/settings/index.php')
-rw-r--r-- | pages/settings/index.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pages/settings/index.php b/pages/settings/index.php index 01a60d753..dbc8c87da 100644 --- a/pages/settings/index.php +++ b/pages/settings/index.php @@ -6,14 +6,14 @@ * @subpackage Core */ -if (!page_owner()) { +if (!elgg_get_page_owner_guid()) { set_page_owner(get_loggedin_userid()); } // Make sure we don't open a security hole ... -if ((!page_owner_entity()) || (!page_owner_entity()->canEdit())) { +if ((!elgg_get_page_owner()) || (!elgg_get_page_owner()->canEdit())) { set_page_owner(get_loggedin_userid()); } // Forward to the user settings -forward('pg/settings/user/' . page_owner_entity()->username . "/");
\ No newline at end of file +forward('pg/settings/user/' . elgg_get_page_owner()->username . "/");
\ No newline at end of file |