diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-26 20:57:09 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-26 20:57:09 +0000 |
commit | a2250e1854f23351b2a39e304e2bd5977f3fd867 (patch) | |
tree | c7a846a455073b88ef2db21115baf21fee57b138 /pages/friends/collections/add.php | |
parent | 657295df1ff884ed9f00b001389978b142ac6ba7 (diff) | |
download | elgg-a2250e1854f23351b2a39e304e2bd5977f3fd867.tar.gz elgg-a2250e1854f23351b2a39e304e2bd5977f3fd867.tar.bz2 |
Fixes #2982 friends collections work even if the code is convoluted and poorly written.
git-svn-id: http://code.elgg.org/elgg/trunk@8495 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'pages/friends/collections/add.php')
-rw-r--r-- | pages/friends/collections/add.php | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/pages/friends/collections/add.php b/pages/friends/collections/add.php index 51425db37..0bc3f1fcb 100644 --- a/pages/friends/collections/add.php +++ b/pages/friends/collections/add.php @@ -13,12 +13,8 @@ $title = elgg_echo('friends:collections:add'); $content = elgg_view_title($title); -$form_body = elgg_view('forms/friends/collections/edit', array( - 'friends' => get_user_friends(elgg_get_logged_in_user_guid(), "", 9999) -)); -$content .= elgg_view('input/form', array( - 'action' => 'action/friends/collections/add', - 'body' => $form_body, +$content .= elgg_view_form('friends/collections/add', array(), array( + 'friends' => get_user_friends(elgg_get_logged_in_user_guid(), "", 9999), )); $body = elgg_view_layout('one_sidebar', array('content' => $content)); |