From f3261b03dfe5ee472f8048b85a1f4b9aa776026d Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Sat, 12 Dec 2009 03:16:52 +0000 Subject: setting page owner for some pages --- pages/world.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'pages/world.php') diff --git a/pages/world.php b/pages/world.php index 514fd058c..2683abc1d 100644 --- a/pages/world.php +++ b/pages/world.php @@ -6,6 +6,11 @@ include_once dirname(dirname(dirname(dirname(__FILE__)))) . "/engine/start.php"; + // set page owner to logged in user + if (isloggedin()) { + set_page_owner(get_loggedin_userid()); + } + $num_albums = 16; $title = elgg_echo('album:all'); -- cgit v1.2.3