Skip to content

Commit

Permalink
fix link unsubscribe social BT#7683
Browse files Browse the repository at this point in the history
  • Loading branch information
aragonc committed Apr 21, 2016
1 parent c36a9c3 commit 81e1d97
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions main/inc/lib/social.lib.php
Expand Up @@ -976,7 +976,8 @@ public static function show_social_menu(
}

if ($show_delete_account_button) {
$html .= '<div class="sidebar-nav"><ul><li>';
$html .= '<div class="panel panel-default"><div class="panel-body">';
$html .= '<ul class="nav nav-pills nav-stacked"><li>';
$url = api_get_path(WEB_CODE_PATH).'auth/unsubscribe_account.php';
$html .= Display::url(
Display::return_icon(
Expand All @@ -987,7 +988,8 @@ public static function show_social_menu(
).get_lang('Unsubscribe'),
$url
);
$html .= '</li></ul></div>';
$html .= '</li></ul>';
$html .= '</div></div>';
}
$html .= '';

Expand Down

0 comments on commit 81e1d97

Please sign in to comment.