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
_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha.org/mailman/listinfo/koha-patches