aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/views/default
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-11 02:15:54 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-11 02:15:54 +0000
commit404f96c8bbe3854ca3b953b8bc230838d54e1ada (patch)
tree23fb15cebb381b70b57aa837453270c26f68374e /mod/groups/views/default
parent10e52c96095121f1e0accaeb74eea0e4121d082a (diff)
downloadelgg-404f96c8bbe3854ca3b953b8bc230838d54e1ada.tar.gz
elgg-404f96c8bbe3854ca3b953b8bc230838d54e1ada.tar.bz2
Fixes #2638 fixes group action url problem
git-svn-id: http://code.elgg.org/elgg/trunk@7293 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/groups/views/default')
-rw-r--r--mod/groups/views/default/groups/groupprofile.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/groups/views/default/groups/groupprofile.php b/mod/groups/views/default/groups/groupprofile.php
index 0bf980a96..ef6388a59 100644
--- a/mod/groups/views/default/groups/groupprofile.php
+++ b/mod/groups/views/default/groups/groupprofile.php
@@ -9,7 +9,7 @@
$user = get_loggedin_user();
elgg_push_breadcrumb(elgg_echo('groups:all'), elgg_get_site_url()."pg/groups/world");
-// create user actions
+// action url => label
$actions = array();
if ($vars['entity']->canEdit()) {
@@ -50,7 +50,7 @@ $action_buttons = '';
if (!empty($actions)) {
$action_buttons = '<div class="content_header_options">';
foreach ($actions as $url => $action) {
- $action_buttons .= "<a class=\"action_button\" href=\"".elgg_get_site_url()."$url\">$action</a>";
+ $action_buttons .= "<a class=\"action_button\" href=\"$url\">$action</a>";
}
$action_buttons .= '</div>';
}