diff options
Diffstat (limited to 'views/default/js/initialize_elgg.php')
-rw-r--r-- | views/default/js/initialize_elgg.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/js/initialize_elgg.php b/views/default/js/initialize_elgg.php index 03d5adc5a..7634851f5 100644 --- a/views/default/js/initialize_elgg.php +++ b/views/default/js/initialize_elgg.php @@ -14,7 +14,7 @@ elgg.security.token.__elgg_ts = <?php echo $ts = time(); ?>; elgg.security.token.__elgg_token = '<?php echo generate_action_token($ts); ?>'; <?php -$page_owner = elgg_get_page_owner(); +$page_owner = elgg_get_page_owner_entity(); if ($page_owner instanceof ElggEntity) { $page_owner_json = array(); |