aboutsummaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
Diffstat (limited to 'pages')
-rw-r--r--pages/friends/add.php2
-rw-r--r--pages/friends/edit.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/pages/friends/add.php b/pages/friends/add.php
index 1b7b0288f..96da26ae1 100644
--- a/pages/friends/add.php
+++ b/pages/friends/add.php
@@ -13,7 +13,7 @@ $title = elgg_echo('friends:collections:add');
$content = elgg_view_title($title);
-$content .= elgg_view('forms/friends/edit', array(
+$content .= elgg_view_form('friends/edit', array(), array(
'friends' => get_user_friends(elgg_get_logged_in_user_guid(), "", 9999)
)
);
diff --git a/pages/friends/edit.php b/pages/friends/edit.php
index e2c707b7c..665929319 100644
--- a/pages/friends/edit.php
+++ b/pages/friends/edit.php
@@ -22,7 +22,7 @@ $collection = get_access_collection($collection_id);
//get all members of the collection
$collection_members = get_members_of_access_collection($collection_id);
-$content .= elgg_view('forms/friends/edit', array('collection' => $collection,
+$content .= elgg_view_form('friends/edit', array(), array('collection' => $collection,
'collection_members' => $collection_members));
$body = elgg_view_layout('one_sidebar', array('content' => $content));