diff options
author | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-10-30 21:48:24 +0000 |
---|---|---|
committer | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-10-30 21:48:24 +0000 |
commit | c27eac2d2a970e76a1204757bbe15da8efb2870c (patch) | |
tree | 7f524d3ee95391163293d9f77a945e2915c3e8ac /mod/groups/views/default/forum/maintopic.php | |
parent | f49fdf4e1c80fe5bde922c25bdd6ca0e2c912ddb (diff) | |
download | elgg-c27eac2d2a970e76a1204757bbe15da8efb2870c.tar.gz elgg-c27eac2d2a970e76a1204757bbe15da8efb2870c.tar.bz2 |
Refs #1439: Using new page_owner functions in all of core
git-svn-id: http://code.elgg.org/elgg/trunk@7140 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/groups/views/default/forum/maintopic.php')
-rw-r--r-- | mod/groups/views/default/forum/maintopic.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/groups/views/default/forum/maintopic.php b/mod/groups/views/default/forum/maintopic.php index 3eb124395..03e628846 100644 --- a/mod/groups/views/default/forum/maintopic.php +++ b/mod/groups/views/default/forum/maintopic.php @@ -23,7 +23,7 @@ // display the user name
echo "<div class='entity_listing_info'>";
// if comment owner, group owner, or site admin - display edit and delete options
- if (groups_can_edit_discussion($vars['entity'], page_owner_entity()->owner_guid)) {
+ if (groups_can_edit_discussion($vars['entity'], elgg_get_page_owner()->owner_guid)) {
echo "<div class='entity_metadata'>";
echo "<span class='delete_button'>".elgg_view("output/confirmlink",array(
'href' => $vars['url'] . "action/groups/deletepost?post=" . $vars['entity']->id . "&topic=" . get_input('topic') . "&group=" . get_input('group_guid'),
|