From c27eac2d2a970e76a1204757bbe15da8efb2870c Mon Sep 17 00:00:00 2001 From: ewinslow Date: Sat, 30 Oct 2010 21:48:24 +0000 Subject: Refs #1439: Using new page_owner functions in all of core git-svn-id: http://code.elgg.org/elgg/trunk@7140 36083f99-b078-4883-b0ff-0f9b5a30f544 --- pages/settings/index.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pages/settings/index.php') 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 -- cgit v1.2.3