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 2e61d6e21..7971816e3 100644
--- a/mod/messages/start.php
+++ b/mod/messages/start.php
@@ -93,6 +93,9 @@ function messages_page_handler($page) {
$page[1] = elgg_get_logged_in_user_entity()->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]) {