Commit e53a7e35 authored by Petter Goksøyr Åsen's avatar Petter Goksøyr Åsen
Browse files

DEICH-0000 update questionnaire check because form URL changed

parent d1160d66
......@@ -50,7 +50,7 @@ sub Run {
next unless $p->{patron}->{alertemail}; #ignore those without email
# Check that we haven't allready sent questionnaire mail
my $sth = $dbh->prepare("SELECT 1 FROM message_queue WHERE content like '%HentingAvBestilteB%' AND borrowernumber = ?");
my $sth = $dbh->prepare("SELECT 1 FROM message_queue WHERE content like '%HentingAvBestillinger%' AND borrowernumber = ?");
$sth->execute($p->{patron}->{borrowernumber});
next if $sth->fetchrow_hashref;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment