Merge branch 'bug_8931' into 3.12-master
[koha.git] / tools / koha-news.pl
index 2451934..afc5268 100755 (executable)
@@ -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' );