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 5503a675a..2bf0526da 100644
--- a/mod/messages/start.php
+++ b/mod/messages/start.php
@@ -100,6 +100,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]) {