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

(-)a/acqui/basketheader.pl (+3 lines)
Lines 141-146 if ( $op eq 'add_form' ) { Link Here
141
#End Edit
141
#End Edit
142
} elsif ( $op eq 'add_validate' ) {
142
} elsif ( $op eq 'add_validate' ) {
143
#we are confirming the changes, save the basket
143
#we are confirming the changes, save the basket
144
#we are checking CSRF Token.
145
    output_and_exit_if_error($input, $cookie, $template, { check => 'csrf_token' });
146
144
    if ( $is_an_edit ) {
147
    if ( $is_an_edit ) {
145
        ModBasketHeader(
148
        ModBasketHeader(
146
            $basketno,
149
            $basketno,
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basketheader.tt (-1 / +2 lines)
Lines 53-65 Link Here
53
<div class="main container-fluid">
53
<div class="main container-fluid">
54
    <div class="row">
54
    <div class="row">
55
        <div class="col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2">
55
        <div class="col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2">
56
56
    [% INCLUDE 'blocking_errors.inc' %]
57
    [% IF ( add_form ) %]
57
    [% IF ( add_form ) %]
58
        [% IF ( basketno ) %]
58
        [% IF ( basketno ) %]
59
            <h1>Edit basket [% basketname | html %]</h1>
59
            <h1>Edit basket [% basketname | html %]</h1>
60
        [% ELSE %]<h1>Add a basket to [% booksellername | html %]</h1>
60
        [% ELSE %]<h1>Add a basket to [% booksellername | html %]</h1>
61
        [% END %]
61
        [% END %]
62
    <form name="Aform" action="[% script_name | html %]" method="post" class="validated">
62
    <form name="Aform" action="[% script_name | html %]" method="post" class="validated">
63
        [% INCLUDE 'csrf-token.inc' %]
63
        <input type="hidden" name="booksellerid" value="[% booksellerid | html %]" />
64
        <input type="hidden" name="booksellerid" value="[% booksellerid | html %]" />
64
        <fieldset class="rows">
65
        <fieldset class="rows">
65
            <ol>
66
            <ol>
(-)a/members/setstatus.pl (-2 lines)
Lines 61-67 if ( $logged_in_user->can_see_patron_infos($patron) ) { Link Here
61
            token      => scalar $input->param('csrf_token'),
61
            token      => scalar $input->param('csrf_token'),
62
            }
62
            }
63
        );
63
        );
64
65
        $dateexpiry = $patron->renew_account;
64
        $dateexpiry = $patron->renew_account;
66
    } else {
65
    } else {
67
        my $sth = $dbh->prepare("UPDATE borrowers SET debarred = ?, debarredcomment = '' WHERE borrowernumber = ?");
66
        my $sth = $dbh->prepare("UPDATE borrowers SET debarred = ?, debarredcomment = '' WHERE borrowernumber = ?");
68
- 

Return to bug 22990