Skip to content

Commit

Permalink
Merge branch 'master' into talmdal_dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Almdal committed Dec 30, 2009
2 parents 7e8985d + 373dcf0 commit 2e98825
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/gallery/helpers/gallery_event.php
Expand Up @@ -109,6 +109,7 @@ static function user_menu($menu, $theme) {
->label(t("Login")));
} else {
$csrf = access::csrf_token();
$item = $theme->item();
$menu->append(Menu::factory("dialog")
->id("user_menu_edit_profile")
->css_id("g-user-profile-link")
Expand All @@ -119,7 +120,7 @@ static function user_menu($menu, $theme) {
->id("user_menu_logout")
->css_id("g-logout-link")
->url(url::site("logout?csrf=$csrf&continue=" .
urlencode(url::current(true))))
urlencode($item->url())))
->label(t("Logout")));
}
}
Expand Down

0 comments on commit 2e98825

Please sign in to comment.