From 9e745aff029ba84e8e622692d9448b769160d8ce Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Thu, 10 May 2012 12:01:11 -0400 Subject: [PATCH] Talking Tech Support - Phase I - Followup 2 - Bugfix http://bugs.koha-community.org/show_bug.cgi?id=4246 Signed-off-by: Paul Poulain --- opac/opac-userupdate.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/opac/opac-userupdate.pl b/opac/opac-userupdate.pl index b37d88c3da..529a2a6106 100755 --- a/opac/opac-userupdate.pl +++ b/opac/opac-userupdate.pl @@ -156,14 +156,14 @@ my $checkin_prefs = C4::Members::Messaging::GetMessagingPreferences({ borrowernumber => $borrowernumber, message_name => 'Item Checkout' }); -for (@{ $checkin_prefs->{transports} }) { +for ( keys %{ $checkin_prefs->{transports} }) { $borr->{"items_returned_$_"} = 1; } my $checkout_prefs = C4::Members::Messaging::GetMessagingPreferences({ borrowernumber => $borrowernumber, message_name => 'Item Check-in' }); -for (@{ $checkout_prefs->{transports} }) { +for ( keys %{ $checkout_prefs->{transports} }) { $borr->{"items_borrowed_$_"} = 1; } -- 2.39.5