aboutsummaryrefslogtreecommitdiff
path: root/mod/pages/views/default/forms
diff options
context:
space:
mode:
Diffstat (limited to 'mod/pages/views/default/forms')
-rw-r--r--mod/pages/views/default/forms/pages/edit.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/pages/views/default/forms/pages/edit.php b/mod/pages/views/default/forms/pages/edit.php
index bdd721b82..0d066bf80 100644
--- a/mod/pages/views/default/forms/pages/edit.php
+++ b/mod/pages/views/default/forms/pages/edit.php
@@ -8,7 +8,7 @@
$parent_guid = get_input('parent_guid');
$container_guid = get_input('container_guid');
if (!$container_guid) {
- $container_guid = page_owner();
+ $container_guid = elgg_get_page_owner_guid();
}
$new_page = false;
@@ -86,7 +86,7 @@ if ($container_guid) {
}
?>
<input type="hidden" name="parent_guid" value="<?php if (!$new_page) echo $vars['entity']->parent_guid; else echo $parent_guid; ?>" />
- <input type="hidden" name="owner_guid" value="<?php if (!$new_page) echo $vars['entity']->owner_guid; else echo page_owner(); ?>" />
+ <input type="hidden" name="owner_guid" value="<?php if (!$new_page) echo $vars['entity']->owner_guid; else echo elgg_get_page_owner_guid(); ?>" />
<input type="submit" class="submit_button" value="<?php echo elgg_echo("save"); ?>" />
</p>