Bug 22120: Add price formattig to patron summary print
[koha.git] / members / deletemem.pl
index 4789cf4..3d8712e 100755 (executable)
@@ -109,7 +109,7 @@ if ( $op eq 'delete_confirm' or $countissues > 0 or $charges or $is_guarantor )
     }
 } elsif ( $op eq 'delete_confirmed' ) {
 
-    die "Wrong CSRF token"
+    output_and_exit( $input, $cookie, $template, 'wrong_csrf_token' )
         unless Koha::Token->new->check_csrf( {
             session_id => $input->cookie('CGISESSID'),
             token  => scalar $input->param('csrf_token'),