[Koha-patches] [PATCH] Bug 4210 Acq suggestions don't have LibraryName value passed
Jane Wagner
jwagner at ptfs.com
Thu Feb 25 18:59:08 CET 2010
Updated to current head. The various acquisitions suggestion templates have a LibraryName field, but no value is passed for that field. Added a parameter for that data.
---
C4/Suggestions.pm | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/C4/Suggestions.pm b/C4/Suggestions.pm
index 72c3d34..3f0b73e 100644
--- a/C4/Suggestions.pm
+++ b/C4/Suggestions.pm
@@ -386,6 +386,7 @@ sub ModSuggestion {
letter=>$letter,
borrowernumber=>$suggestion->{suggestedby},
suggestionid=>$suggestion->{suggestionid},
+ LibraryName => C4::Context->preference("LibraryName"),
msg_transport_type=>'email'
});
if (!$enqueued){warn "can't enqueue letter $letter";}
--
1.5.6.5
More information about the Koha-patches
mailing list