aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/entities.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/entities.php')
-rw-r--r--engine/lib/entities.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/entities.php b/engine/lib/entities.php
index 50e41ab2c..915939922 100644
--- a/engine/lib/entities.php
+++ b/engine/lib/entities.php
@@ -455,7 +455,7 @@ function can_write_to_container($user_guid = 0, $container_guid = 0, $entity_typ
$container_guid = (int)$container_guid;
if (!$container_guid) {
- $container_guid = get_page_owner_guid();
+ $container_guid = elgg_get_page_owner_guid();
}
if (!$container_guid) {