From fb804b6020698f1fe461d0710ae9d617fa40da06 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 Signed-off-by: Henri-Damien LAURENT --- admin/categorie.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/categorie.pl b/admin/categorie.pl index d804fe6b0f..bda767481e 100755 --- a/admin/categorie.pl +++ b/admin/categorie.pl @@ -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'}, }; -- 2.39.5