aboutsummaryrefslogtreecommitdiff
path: root/mod/messages/pages/messages/read.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/messages/pages/messages/read.php')
-rw-r--r--mod/messages/pages/messages/read.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/mod/messages/pages/messages/read.php b/mod/messages/pages/messages/read.php
index 310485ee2..d41551be4 100644
--- a/mod/messages/pages/messages/read.php
+++ b/mod/messages/pages/messages/read.php
@@ -12,6 +12,9 @@ if (!$message) {
forward();
}
+// mark the message as read
+$message->readYet = true;
+
elgg_set_page_owner_guid($message->getOwnerGUID());
$page_owner = elgg_get_page_owner_entity();