X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=tools%2Fkoha-news.pl;h=afc526864effc93c4f81fb06650274ea0ad0099b;hb=07e30a78d306fbd395dbe510fb867ba31540388b;hp=24519349448fff27d34b2bf45b820cfd845e3666;hpb=d2b9602e53061ac3038961ae939edb8e7dc39027;p=koha.git diff --git a/tools/koha-news.pl b/tools/koha-news.pl index 2451934944..afc526864e 100755 --- a/tools/koha-news.pl +++ b/tools/koha-news.pl @@ -79,7 +79,7 @@ if ( $op eq 'add_form' ) { op => 'edit', id => $new_detail->{'idnew'} ); - $template->param($new_detail); + $template->{VARS}->{'new_detail'} = $new_detail; } else { $template->param( op => 'add' );