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

(-)a/opac/opac-suggestions.pl (-2 / +6 lines)
Lines 150-156 if ( $op eq "delete_confirm" ) { Link Here
150
    print $input->redirect("/cgi-bin/koha/opac-suggestions.pl?op=else");
150
    print $input->redirect("/cgi-bin/koha/opac-suggestions.pl?op=else");
151
    exit;
151
    exit;
152
}
152
}
153
map{ $_->{'branchcodesuggestedby'} = Koha::Libraries->find($_->{'branchcodesuggestedby'})->branchname} @$suggestions_loop;
153
154
map{
155
    my $s = $_;
156
    my $library = Koha::Libraries->find($s->{branchcodesuggestedby});
157
    $library ? $s->{branchcodesuggestedby} = $library->branchname : ()
158
} @$suggestions_loop;
154
159
155
foreach my $suggestion(@$suggestions_loop) {
160
foreach my $suggestion(@$suggestions_loop) {
156
    if($suggestion->{'suggestedby'} == $borrowernumber) {
161
    if($suggestion->{'suggestedby'} == $borrowernumber) {
157
- 

Return to bug 16198