diff options
author | Cash Costello <cash.costello@gmail.com> | 2009-12-12 03:16:52 +0000 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2009-12-12 03:16:52 +0000 |
commit | f3261b03dfe5ee472f8048b85a1f4b9aa776026d (patch) | |
tree | 303ff8943051dfb12234587a2f1157ab32de2da5 /pages/lists/mostrecentimages.php | |
parent | 60afb9fcf78831c7ae7bd1a885fc8d818051c6fd (diff) | |
download | elgg-f3261b03dfe5ee472f8048b85a1f4b9aa776026d.tar.gz elgg-f3261b03dfe5ee472f8048b85a1f4b9aa776026d.tar.bz2 |
setting page owner for some pages
Diffstat (limited to 'pages/lists/mostrecentimages.php')
-rw-r--r-- | pages/lists/mostrecentimages.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/pages/lists/mostrecentimages.php b/pages/lists/mostrecentimages.php index 5f5116513..8a9f8dbdb 100644 --- a/pages/lists/mostrecentimages.php +++ b/pages/lists/mostrecentimages.php @@ -1,7 +1,7 @@ <?php /** - * Most recently uploaded images + * Most recently uploaded images - individual or world * */ @@ -24,6 +24,11 @@ else $title = sprintf(elgg_echo("tidypics:friendmostrecent"), $user->name); } + } else { + // world view - set page owner to logged in user + if (isloggedin()) { + set_page_owner(get_loggedin_userid()); + } } // how many do we display |