From ab1e1148ba6ec2a0e53ff54398173204febc9a4a Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Fri, 25 Oct 2013 07:58:23 -0400 Subject: [PATCH] Determine best commit id for the commit and use that in links --- src/main/java/com/gitblit/wicket/pages/GravatarProfilePage.java | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/gitblit/wicket/pages/GravatarProfilePage.java b/src/main/java/com/gitblit/wicket/pages/GravatarProfilePage.java index ee567d7..984b297 100644 --- a/src/main/java/com/gitblit/wicket/pages/GravatarProfilePage.java +++ b/src/main/java/com/gitblit/wicket/pages/GravatarProfilePage.java @@ -29,9 +29,9 @@ /** * Gravatar Profile Page shows the Gravatar information, if available. - * + * * @author James Moger - * + * */ public class GravatarProfilePage extends RootPage { @@ -49,7 +49,7 @@ } catch (IOException e) { error(MessageFormat.format(getString("gb.failedToFindGravatarProfile"), object), e, true); } - + if (profile == null) { error(MessageFormat.format(getString("gb.failedToFindGravatarProfile"), object), true); } -- Gitblit v1.9.1