Bug 4210 Acq suggestions don't have LibraryName value passed

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.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
This commit is contained in:
Jane Wagner 2010-02-25 12:59:08 -05:00 committed by Galen Charlton
parent c575628b74
commit cdc46d0a2a
1 changed files with 1 additions and 0 deletions

View File

@ -387,6 +387,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";}