Bug 13215: Fix notice edition
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>
This commit is contained in:
parent
6f599652b1
commit
ab4bb0fe5e
1 changed files with 1 additions and 1 deletions
|
@ -259,7 +259,7 @@ sub add_validate {
|
|||
delete_confirmed( $branchcode, $oldmodule, $code, $mtt );
|
||||
next;
|
||||
}
|
||||
elsif ( exists $letter->{$mtt} ) {
|
||||
elsif ( $letter->{message_transport_type} eq $mtt ) {
|
||||
$dbh->do(
|
||||
q{
|
||||
UPDATE letter
|
||||
|
|
Loading…
Reference in a new issue