C4::Letters::getletter does not set mtt in value ( i.e. { email => "my
email notice} ) at the contrary of the get_letter routine defined in
tools/letters.pl.
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
delete_confirmed( $branchcode, $oldmodule, $code, $mtt );
next;
}
- elsif ( exists $letter->{$mtt} ) {
+ elsif ( $letter->{message_transport_type} eq $mtt ) {
$dbh->do(
q{
UPDATE letter