From ccff7bfe47dc2a834a8991b2326cb6240b120a0f Mon Sep 17 00:00:00 2001 From: Henri-Damien LAURENT Date: Thu, 18 Mar 2010 04:43:52 +0100 Subject: [PATCH] Followup admin/categorie.pl --- admin/categorie.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/categorie.pl b/admin/categorie.pl index 191e704c5e..315076c697 100755 --- a/admin/categorie.pl +++ b/admin/categorie.pl @@ -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'}, }; -- 2.39.5