@@ -, +, @@ --- .../prog/en/modules/tools/additional-contents.tt | 6 +++--- tools/additional-contents.pl | 6 ++---- 2 files changed, 5 insertions(+), 7 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt @@ -195,7 +195,7 @@ [% UNLESS languages.size %]
  • - Required + Required
  • [% END %]
  • @@ -243,11 +243,11 @@
    1. - +
    2. - +
    --- a/tools/additional-contents.pl +++ a/tools/additional-contents.pl @@ -82,8 +82,6 @@ elsif ( $op eq 'add_validate' ) { my $code = $cgi->param('code'); my $branchcode = $cgi->param('branchcode') || undef; - my @title = $cgi->multi_param('title'); - my @content = $cgi->multi_param('content'); my @lang = $cgi->multi_param('lang'); my $expirationdate; @@ -107,8 +105,8 @@ elsif ( $op eq 'add_validate' ) { my $success = 1; for my $lang ( sort {$a ne 'default'} @lang ) { # Process 'default' first - my $title = shift @title; - my $content = shift @content; + my $title = $cgi->param( 'title_' . $lang ); + my $content = $cgi->param( 'content_' . $lang ); my $additional_content = Koha::AdditionalContents->find( { category => $category, --