@@ -, +, @@ --- about.pl | 5 ++++- koha-tmpl/intranet-tmpl/prog/en/modules/about.tt | 16 +++++++++++----- 2 files changed, 15 insertions(+), 6 deletions(-) --- a/about.pl +++ a/about.pl @@ -531,7 +531,10 @@ if ( defined C4::Context->config('docdir') ) { } ## Contributors -my $contributors = LoadFile("$docdir"."/contributors.yaml"); +my $contributors = + -e "$docdir" . "/contributors.yaml" + ? LoadFile( "$docdir" . "/contributors.yaml" ) + : {}; my @people = map { { name => $_, --- a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt @@ -469,11 +469,17 @@

Koha development team

- + [% IF contributors.size %] + + [% ELSE %] +
+ Could not read the contributors.yaml file. Please make sure <docdir> is correctly defined in koha-conf.xml. +
+ [% END %]

Contributing companies and institutions

--