From dbc83bbd4d1993fe38fba440c553b00b8cc69671 Mon Sep 17 00:00:00 2001 From: erickson Date: Wed, 20 Sep 2006 14:20:40 +0000 Subject: [PATCH] moved log line git-svn-id: svn://svn.open-ils.org/ILS/trunk@6153 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/perlmods/OpenILS/Application/Circ/HoldNotify.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Circ/HoldNotify.pm b/Open-ILS/src/perlmods/OpenILS/Application/Circ/HoldNotify.pm index 66751d5ef2..2f5c0eb649 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Circ/HoldNotify.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Circ/HoldNotify.pm @@ -127,12 +127,12 @@ sub send_email_notify { return 0; } - $logger->info("hold_notify: attempting email notify on hold ".$self->hold->id); - return OpenILS::Event->new('PATRON_NO_EMAIL_ADDRESS') unless $self->patron->email and $self->patron->email =~ /.+\@.+/; # see if it's remotely email-esque + $logger->info("hold_notify: attempting email notify on hold ".$self->hold->id); + my $sclient = OpenSRF::Utils::SettingsClient->new; $self->settings_client($sclient); my $template = $sclient->config_value('email_notify', 'template'); -- 2.11.0