diff options
-rw-r--r-- | ui-shared.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-shared.c b/ui-shared.c index 2e4fcd9..e5c9a02 100644 --- a/ui-shared.c +++ b/ui-shared.c | |||
@@ -1039,7 +1039,7 @@ void cgit_print_pageheader(void) | |||
1039 | free(currenturl); | 1039 | free(currenturl); |
1040 | } | 1040 | } |
1041 | html("</td></tr></table>\n"); | 1041 | html("</td></tr></table>\n"); |
1042 | if (ctx.env.authenticated && ctx.qry.vpath) { | 1042 | if (ctx.env.authenticated && ctx.repo && ctx.qry.vpath) { |
1043 | html("<div class='path'>"); | 1043 | html("<div class='path'>"); |
1044 | html("path: "); | 1044 | html("path: "); |
1045 | cgit_print_path_crumbs(ctx.qry.vpath); | 1045 | cgit_print_path_crumbs(ctx.qry.vpath); |