Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Commit 070d527

Browse files
committed
Merge branch 'kk/maint-gitweb-missing-owner'
By Kacper Kornet * kk/maint-gitweb-missing-owner: gitweb: Don't set owner if got empty value from projects.list
2 parents 6a89897 + 75e0dff commit 070d527

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

gitweb/gitweb.perl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3012,9 +3012,11 @@ sub git_get_projects_list {
30123012
}
30133013
if (check_export_ok("$projectroot/$path")) {
30143014
my $pr = {
3015-
path => $path,
3016-
owner => to_utf8($owner),
3015+
path => $path
30173016
};
3017+
if ($owner) {
3018+
$pr->{'owner'} = to_utf8($owner);
3019+
}
30183020
push @list, $pr;
30193021
}
30203022
}

0 commit comments

Comments
 (0)