James Moger
2012-10-10 7f70511e9a13f4801e4e941affad6fc7b579c79d
src/com/gitblit/wicket/pages/RepositoryPage.java
@@ -248,7 +248,7 @@
            // user not allowed to fork or fork already exists or repo forbids forking
            add(new ExternalLink("forkLink", "").setVisible(false));
            
            if (user.canFork && !model.allowForks) {
            if (user.canFork() && !model.allowForks) {
               // show forks prohibited indicator
               Fragment wc = new Fragment("forksProhibitedIndicator", "forksProhibitedFragment", this);
               Label lbl = new Label("forksProhibited", getString("gb.forksProhibited"));