aboutsummaryrefslogtreecommitdiff
path: root/mod/messages/start.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/messages/start.php')
-rw-r--r--mod/messages/start.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/mod/messages/start.php b/mod/messages/start.php
index 6d0e82744..5c2cb8d0d 100644
--- a/mod/messages/start.php
+++ b/mod/messages/start.php
@@ -103,6 +103,9 @@ function messages_page_handler($page) {
$page[1] = $current_user->username;
}
+ $user = get_user_by_username($page[1]);
+ //elgg_set_page_owner_guid($user->guid);
+
$base_dir = elgg_get_plugins_path() . 'messages/pages/messages';
switch ($page[0]) {