diff --git a/tools/marc_modification_templates.pl b/tools/marc_modification_templates.pl index c130cc313e..66c4f52903 100755 --- a/tools/marc_modification_templates.pl +++ b/tools/marc_modification_templates.pl @@ -50,7 +50,8 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( if ( $op eq "cud-create_template" ) { $template_id = '' unless $cgi->param('duplicate_current_template'); $template_id = AddModificationTemplate( scalar $cgi->param('template_name'), $template_id ); - + print $cgi->redirect( + "/cgi-bin/koha/tools/marc_modification_templates.pl?template_id=$template_id&op=select_template"); } elsif ( $op eq "cud-delete_template" ) { DelModificationTemplate($template_id);