X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/6bef566f99c7f85cbab9692e22b183ae99f33c1d..3b485cc5422f800d142c7023295e82c0a1c10b19:/ui-shared.c?ds=inline 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("