From 798ea38db38c0e01070b9cc3db9b2a0594b31053 Mon Sep 17 00:00:00 2001 From: Adrien Saurat Date: Wed, 1 Feb 2012 16:11:04 +0100 Subject: [PATCH] Bug 7488: cleans logs for moremember.pl --- C4/Members/Messaging.pm | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/C4/Members/Messaging.pm b/C4/Members/Messaging.pm index 2b39f11..ae77be0 100644 --- a/C4/Members/Messaging.pm +++ b/C4/Members/Messaging.pm @@ -213,6 +213,7 @@ END_SQL $choices->{ $row->{'message_name'} }->{'message_name'} = $row->{'message_name'}; $choices->{ $row->{'message_name'} }->{'takes_days'} = $row->{'takes_days'}; $choices->{ $row->{'message_name'} }->{'has_digest'} = 1 if $row->{'is_digest'}; + if ( not defined ($row->{'message_transport_type'}) ) { $row->{'message_transport_type'} = '' } $choices->{ $row->{'message_name'} }->{'transport_' . $row->{'message_transport_type'}} = ' '; } -- 1.7.4.1