[Koha-patches] [PATCH] Fix for Bug 4211, Acquisitions actions on suggestions don't generate email

Owen Leonard oleonard at myacpl.org
Thu Aug 12 18:36:26 CEST 2010


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



More information about the Koha-patches mailing list