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

(-)a/opac/opac-memberentry.pl (-5 / +2 lines)
Lines 197-203 if ( $action eq 'create' ) { Link Here
197
                },
197
                },
198
            );
198
            );
199
199
200
            C4::Letters::EnqueueLetter(
200
            my $message_id = C4::Letters::EnqueueLetter(
201
                {
201
                {
202
                    letter                 => $letter,
202
                    letter                 => $letter,
203
                    message_transport_type => 'email',
203
                    message_transport_type => 'email',
Lines 206-214 if ( $action eq 'create' ) { Link Here
206
                      C4::Context->preference('KohaAdminEmailAddress'),
206
                      C4::Context->preference('KohaAdminEmailAddress'),
207
                }
207
                }
208
            );
208
            );
209
            my $num_letters_attempted = C4::Letters::SendQueuedMessages( {
209
            C4::Letters::SendQueuedMessages({ message_id => $message_id });
210
                    letter_code => 'OPAC_REG_VERIFY'
211
                    } );
212
        }
210
        }
213
        else {
211
        else {
214
            ( $template, $borrowernumber, $cookie ) = get_template_and_user(
212
            ( $template, $borrowernumber, $cookie ) = get_template_and_user(
215
- 

Return to bug 27860