aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/river.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/river.php')
-rw-r--r--engine/lib/river.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/river.php b/engine/lib/river.php
index fd6e97b12..2c8925393 100644
--- a/engine/lib/river.php
+++ b/engine/lib/river.php
@@ -513,7 +513,7 @@ function update_river_access_by_object($object_guid, $access_id) {
function elgg_river_page_handler($page) {
global $CONFIG;
- elgg_set_page_owner_guid(get_loggedin_userid());
+ elgg_set_page_owner_guid(elgg_get_logged_in_user_guid());
$page_type = elgg_get_array_value(0, $page, 'all');
if ($page_type == 'owner') {