X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/6d3c8bc37f6124c2193d66587079975d381aa435..1b4ef6783a71962f8b5da3a23f2830f0f0f55ea0:/ui-shared.c 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) free(currenturl); } html("\n"); - if (ctx.env.authenticated && ctx.qry.vpath) { + if (ctx.env.authenticated && ctx.repo && ctx.qry.vpath) { html("