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
This commit is contained in:
commit
070d5271e4
@ -3012,9 +3012,11 @@ sub git_get_projects_list {
|
||||
}
|
||||
if (check_export_ok("$projectroot/$path")) {
|
||||
my $pr = {
|
||||
path => $path,
|
||||
owner => to_utf8($owner),
|
||||
path => $path
|
||||
};
|
||||
if ($owner) {
|
||||
$pr->{'owner'} = to_utf8($owner);
|
||||
}
|
||||
push @list, $pr;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user