aboutsummaryrefslogtreecommitdiff
path: root/pages/world.php
diff options
context:
space:
mode:
Diffstat (limited to 'pages/world.php')
-rw-r--r--pages/world.php5
1 files changed, 5 insertions, 0 deletions
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');