View | Details | Raw Unified | Return to bug 22990
Collapse All | Expand All

(-)a/circ/add_message.pl (+1 lines)
Lines 34-39 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
34
        flagsrequired   => { borrowers => 'edit_borrowers' },
34
        flagsrequired   => { borrowers => 'edit_borrowers' },
35
    }
35
    }
36
);
36
);
37
output_and_exit_if_error($input, $cookie, $template, { check => 'csrf_token' });
37
38
38
my $borrowernumber   = $input->param('borrowernumber');
39
my $borrowernumber   = $input->param('borrowernumber');
39
my $branchcode       = $input->param('branchcode');
40
my $branchcode       = $input->param('branchcode');
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc (-1 / +1 lines)
Lines 93-98 Link Here
93
    <div class="modal-dialog">
93
    <div class="modal-dialog">
94
        <div class="modal-content">
94
        <div class="modal-content">
95
            <form method="post" action="/cgi-bin/koha/circ/add_message.pl" id="message_form" name="message_f">
95
            <form method="post" action="/cgi-bin/koha/circ/add_message.pl" id="message_form" name="message_f">
96
                [% INCLUDE 'csrf-token.inc' %]
96
                <div class="modal-header">
97
                <div class="modal-header">
97
                    <h3>Leave a message</h3>
98
                    <h3>Leave a message</h3>
98
                </div>
99
                </div>
99
- 

Return to bug 22990