X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=tools%2Fkoha-news.pl;h=afc526864effc93c4f81fb06650274ea0ad0099b;hb=32e3f9eace2bfc2ee4ba4250c36c877f0595e22c;hp=24519349448fff27d34b2bf45b820cfd845e3666;hpb=2ea6fdec156419fbbdd5f64da927d0b2b45e751c;p=koha_fer 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' );