Followup admin/categorie.pl

Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
This commit is contained in:
Henri-Damien LAURENT 2010-03-18 04:43:52 +01:00 committed by Chris Cormack
parent c00a51468e
commit fb804b6020
1 changed files with 1 additions and 1 deletions

View File

@ -239,7 +239,7 @@ sub _get_brief_messaging_prefs {
PREF: foreach my $option ( @$messaging_options ) {
my $pref = C4::Members::Messaging::GetMessagingPreferences( { categorycode => $categorycode,
message_name => $option->{'message_name'} } );
next unless @{$pref->{'transports'}};
next unless $pref->{'transports'};
my $brief_pref = { message_attribute_id => $option->{'message_attribute_id'},
message_name => $option->{'message_name'},
};