From 85fb34c39b5ca9cdb166f4ec1d3f4de3eab12832 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 12 Aug 2010 12:33:08 -0400 Subject: [PATCH] Fix for Bug 4211, Acquisitions actions on suggestions don't generate email Assuming 1) The patch for Bug 5126 is approved and 2) Suggestions notices are added by hand (or from default sql--see Bug 5127) this correction should get suggestions notices properly enqueued. --- C4/Suggestions.pm | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/C4/Suggestions.pm b/C4/Suggestions.pm index b5eb7a4..cd248d3 100644 --- a/C4/Suggestions.pm +++ b/C4/Suggestions.pm @@ -388,7 +388,7 @@ sub ModSuggestion { borrowernumber=>$suggestion->{suggestedby}, suggestionid=>$suggestion->{suggestionid}, LibraryName => C4::Context->preference("LibraryName"), - msg_transport_type=>'email' + message_transport_type=>'email' }); if (!$enqueued){warn "can't enqueue letter $letter";} } -- 1.7.0.4