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

(-)a/basket/sendbasket.pl (-2 lines)
Lines 46-52 my ( $template, $borrowernumber, $cookie ) = get_template_and_user ( Link Here
46
46
47
my $bib_list     = $query->param('bib_list');
47
my $bib_list     = $query->param('bib_list');
48
my $email_add    = $query->param('email_add');
48
my $email_add    = $query->param('email_add');
49
my $email_sender = $query->param('email_sender');
50
49
51
my $dbh          = C4::Context->dbh;
50
my $dbh          = C4::Context->dbh;
52
51
Lines 101-107 if ( $email_add ) { Link Here
101
    my $resultsarray = \@results;
100
    my $resultsarray = \@results;
102
    $template2->param(
101
    $template2->param(
103
        BIBLIO_RESULTS => $resultsarray,
102
        BIBLIO_RESULTS => $resultsarray,
104
        email_sender   => $email_sender,
105
        comment        => $comment
103
        comment        => $comment
106
    );
104
    );
107
105
(-)a/opac/opac-sendbasket.pl (-2 lines)
Lines 49-55 my ( $template, $borrowernumber, $cookie ) = get_template_and_user ( Link Here
49
49
50
my $bib_list     = $query->param('bib_list');
50
my $bib_list     = $query->param('bib_list');
51
my $email_add    = $query->param('email_add');
51
my $email_add    = $query->param('email_add');
52
my $email_sender = $query->param('email_sender');
53
52
54
my $dbh          = C4::Context->dbh;
53
my $dbh          = C4::Context->dbh;
55
54
Lines 117-123 if ( $email_add ) { Link Here
117
    
116
    
118
    $template2->param(
117
    $template2->param(
119
        BIBLIO_RESULTS => $resultsarray,
118
        BIBLIO_RESULTS => $resultsarray,
120
        email_sender   => $email_sender,
121
        comment        => $comment,
119
        comment        => $comment,
122
        firstname      => $user->{firstname},
120
        firstname      => $user->{firstname},
123
        surname        => $user->{surname},
121
        surname        => $user->{surname},
(-)a/opac/opac-sendshelf.pl (-1 lines)
Lines 111-117 if ( $email ) { Link Here
111
111
112
    $template2->param(
112
    $template2->param(
113
        BIBLIO_RESULTS => \@results,
113
        BIBLIO_RESULTS => \@results,
114
        email_sender   => $mail{'from'},
115
        comment        => $comment,
114
        comment        => $comment,
116
        shelfname      => $shelf[1],
115
        shelfname      => $shelf[1],
117
        firstname      => $user->{firstname},
116
        firstname      => $user->{firstname},
(-)a/virtualshelves/sendshelf.pl (-2 lines)
Lines 108-114 if ($email) { Link Here
108
108
109
    $template2->param(
109
    $template2->param(
110
        BIBLIO_RESULTS => \@results,
110
        BIBLIO_RESULTS => \@results,
111
        email_sender   => $mail{'from'},
112
        comment        => $comment,
111
        comment        => $comment,
113
        shelfname      => $shelf[1],
112
        shelfname      => $shelf[1],
114
    );
113
    );
115
- 

Return to bug 14330