Followup admin/categorie.pl

This commit is contained in:
Henri-Damien LAURENT 2010-03-18 04:43:52 +01:00
parent c9982a6cb7
commit ccff7bfe47
1 changed files with 1 additions and 1 deletions

View File

@ -219,7 +219,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'},
};