aboutsummaryrefslogtreecommitdiff
path: root/mod/messages/send.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/messages/send.php')
-rw-r--r--mod/messages/send.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/messages/send.php b/mod/messages/send.php
index 0435974ce..c0a59b289 100644
--- a/mod/messages/send.php
+++ b/mod/messages/send.php
@@ -12,7 +12,7 @@ require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");
gatekeeper();
// Get the current page's owner
-$page_owner = page_owner_entity();
+$page_owner = elgg_get_page_owner();
if ($page_owner === false || is_null($page_owner)) {
$page_owner = get_loggedin_user();
set_page_owner($page_owner->getGUID());