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

(-)a/opac/opac-illrequests.pl (-5 / +3 lines)
Lines 86-93 if ( $op eq 'list' ) { Link Here
86
        '/cgi-bin/koha/opac-illrequests.pl?method=view&illrequest_id=' .
86
        '/cgi-bin/koha/opac-illrequests.pl?method=view&illrequest_id=' .
87
        $params->{illrequest_id} .
87
        $params->{illrequest_id} .
88
        '&message=1'
88
        '&message=1'
89
    exit;
90
    );
89
    );
90
    exit;
91
} elsif ( $op eq 'cancreq') {
91
} elsif ( $op eq 'cancreq') {
92
    my $request = Koha::Illrequests->find({
92
    my $request = Koha::Illrequests->find({
93
        borrowernumber => $loggedinuser,
93
        borrowernumber => $loggedinuser,
Lines 98-106 if ( $op eq 'list' ) { Link Here
98
        '/cgi-bin/koha/opac-illrequests.pl?method=view&illrequest_id=' .
98
        '/cgi-bin/koha/opac-illrequests.pl?method=view&illrequest_id=' .
99
        $params->{illrequest_id} .
99
        $params->{illrequest_id} .
100
        '&message=1'
100
        '&message=1'
101
    exit;
102
    );
101
    );
103
102
    exit;
104
} elsif ( $op eq 'create' ) {
103
} elsif ( $op eq 'create' ) {
105
    if (!$params->{backend}) {
104
    if (!$params->{backend}) {
106
        my $req = Koha::Illrequest->new;
105
        my $req = Koha::Illrequest->new;
Lines 138-144 if ( $op eq 'list' ) { Link Here
138
$template->param(
137
$template->param(
139
    message         => $params->{message},
138
    message         => $params->{message},
140
    illrequestsview => 1,
139
    illrequestsview => 1,
141
    method              => $op
140
    method          => $op
142
);
141
);
143
142
144
output_html_with_http_headers $query, $cookie, $template->output;
143
output_html_with_http_headers $query, $cookie, $template->output;
145
- 

Return to bug 20284