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