James Moger
2012-10-11 a5e762ba4ab82f0c6ef71d853c5103f19bbf8e22
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"));