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