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

(-)a/circ/waitingreserves.pl (-4 / +6 lines)
Lines 128-137 foreach my $num (@getreserves) { Link Here
128
    $getreserv{'borrowername'}      = $getborrower->{'surname'};
128
    $getreserv{'borrowername'}      = $getborrower->{'surname'};
129
    $getreserv{'borrowerfirstname'} = $getborrower->{'firstname'};
129
    $getreserv{'borrowerfirstname'} = $getborrower->{'firstname'};
130
    $getreserv{'borrowerphone'}     = $getborrower->{'phone'};
130
    $getreserv{'borrowerphone'}     = $getborrower->{'phone'};
131
    if ( $getborrower->{'emailaddress'} ) {
131
132
        $getreserv{'borrowermail'}  = $getborrower->{'emailaddress'};
132
    my $borEmail = GetFirstValidEmailAddress( $borrowernum );
133
134
    if ( $borEmail ) {
135
        $getreserv{'borrowermail'}  = $borEmail;
133
    }
136
    }
134
 
137
135
    if ($today > $calcDate) {
138
    if ($today > $calcDate) {
136
        if ($cancelall) {
139
        if ($cancelall) {
137
            my $res = cancel( $itemnumber, $borrowernum, $holdingbranch, $homebranch, !$transfer_when_cancel_all );
140
            my $res = cancel( $itemnumber, $borrowernum, $holdingbranch, $homebranch, !$transfer_when_cancel_all );
138
- 

Return to bug 12523