Koha/C4
David Cook 9e948438ef Bug 8434 - Notice generation fails for Advanced Notices, Item Due, and Overdues when run in shell (due to error in Letters.pm)
Patch introduces a check for C4::Context->userenv in Letters.pm, so that script doesn't fail when it calls to C4::Context->userenv->{branch}, when run from shell.

Without the check, Advanced Notices, Item Due, and Overdues fail to generate.

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
2012-07-24 17:34:05 +02:00
..
AuthoritiesMarc Bug 7941 : Fix version numbers in modules 2012-06-11 17:29:38 +02:00
Barcodes Bug 7941 : Fix version numbers in modules 2012-06-11 17:29:38 +02:00
ClassSortRoutine Bug 7941 : Fix version numbers in modules 2012-06-11 17:29:38 +02:00
Creators Bug 8315 - remove use C4::* version 2012-07-13 14:17:20 +02:00
External Bug 7941 : Fix version numbers in modules 2012-06-11 17:29:38 +02:00
Form Talking Tech Support - Phase I - Followup - Fix Messaging Preferences 2012-06-10 17:46:58 +02:00
Heading Bug 7941 : Fix version numbers in modules 2012-06-11 17:29:38 +02:00
ILSDI Bug 7299 pass itemnumber in ILSDI holditem service 2012-07-06 18:34:36 +02:00
Installer Bug 7411: Follop-up: Add Text::Unaccent to PerlDependencies.pm 2012-07-13 14:23:10 +02:00
Labels Bug 7941 : Fix version numbers in modules 2012-06-11 17:29:38 +02:00
Linker signed off Bug 7284: Authority matching improvements 2012-03-07 17:34:11 +01:00
Members Bug 7955: Statistics tab for Patron checkouts 2012-06-20 21:16:50 +02:00
OAI Bug 6440: Implement OAI-PMH Sets 2012-03-20 11:38:26 +01:00
Output Fix FSF address in directory C4/ 2010-03-16 20:17:56 -04:00
Patroncards Bug 8315 - remove use C4::* version 2012-07-13 14:17:20 +02:00
Reports Bug 8256: Teach webservice to select reports by name 2012-07-10 11:59:44 +02:00
Search Bug 5385: POD Cleanups (part 1) 2010-11-12 10:06:55 +13:00
SIP Bug 8271 teach SIPServer.pm to set its own lib path 2012-07-06 18:28:11 +02:00
Utils Bug 7941 : Fix version numbers in modules 2012-06-11 17:29:38 +02:00
VirtualShelves bug 8323 fixing year sorting of a list 2012-07-06 17:10:02 +02:00
Accounts.pm Merge remote-tracking branch 'origin/new/bug_6634' 2012-06-20 22:19:06 +02:00
Acquisition.pm Bug 8247 - adding basket doesn't save basket name, internal or vendor note 2012-06-20 09:16:45 +02:00
Auth.pm Revert "Bug 4460 - Amazon's AssociateID tag not used in links so referred revenue lost" 2012-07-11 12:33:36 +02:00
Auth_cas_servers.yaml.orig Bug 5630 CAS improvements 2011-10-13 10:49:49 +13:00
Auth_with_cas.pm Bug 8279: CAS Debugging improvements 2012-06-27 18:05:02 +02:00
Auth_with_ldap.pm Bug 7941 : Fix version numbers in modules 2012-06-11 17:29:38 +02:00
AuthoritiesMarc.pm Bug 6720 follow-up: use authtypetext instead of summary 2012-07-17 15:25:41 +02:00
BackgroundJob.pm Bug 7941 : Fix version numbers in modules 2012-06-11 17:29:38 +02:00
Barcodes.pm Bug 7941 : Fix version numbers in modules 2012-06-11 17:29:38 +02:00
Biblio.pm Bug 6557: Record bib popularity in totalissues 2012-06-29 14:29:22 +02:00
Bookseller.pm Bug 8223 - Properly format SQL query in C4::Bookseller::GetBookSeller 2012-06-20 11:12:29 +02:00
Boolean.pm Bug 7941 : Fix version numbers in modules 2012-06-11 17:29:38 +02:00
Branch.pm Bug 7941 : Fix version numbers in modules 2012-06-11 17:29:38 +02:00
Breeding.pm Bug 7941 : Fix version numbers in modules 2012-06-11 17:29:38 +02:00
Budgets.pm Bug 7304: More permissions for budgets 2012-06-27 16:25:44 +02:00
Calendar.pm Bug 7477: Followup: Fix perlcritic issues 2012-03-19 18:16:40 +01:00
Category.pm Bug 4330 : Adding copyright headers and fixing FSF addresses 2012-05-28 17:54:25 +02:00
Charset.pm Bug 7941 : Fix version numbers in modules 2012-06-11 17:29:38 +02:00
Circulation.pm BugFix - ReturnToShelvingCart 2012-07-24 15:05:23 +02:00
ClassSortRoutine.pm Bug 7941 : Fix version numbers in modules 2012-06-11 17:29:38 +02:00
ClassSource.pm Bug 7941 : Fix version numbers in modules 2012-06-11 17:29:38 +02:00
Context.pm Bug 7941 : Fix version numbers in modules 2012-06-11 17:29:38 +02:00
Contract.pm Bug 7941 : Fix version numbers in modules 2012-06-11 17:29:38 +02:00
Creators.pm Bug 8315 - remove use C4::* version 2012-07-13 14:17:20 +02:00
Csv.pm Bug 7941 : Fix version numbers in modules 2012-06-11 17:29:38 +02:00
Dates.pm Bug 7941 : Fix version numbers in modules 2012-06-11 17:29:38 +02:00
Debug.pm Bug 7941 : Fix version numbers in modules 2012-06-11 17:29:38 +02:00
Heading.pm Bug 7941 : Fix version numbers in modules 2012-06-11 17:29:38 +02:00
Images.pm Bug 7941 : Fix version numbers in modules 2012-06-11 17:29:38 +02:00
ImportBatch.pm Bug 7329 [Followup] : when reverting an import, keep matching biblionumber in batch table, if items are not deleted because they are issued. 2012-06-20 09:38:01 +02:00
ImportExportFramework.pm Bug 7941 : Fix version numbers in modules 2012-06-11 17:29:38 +02:00
Input.pm Bug 7941 : Fix version numbers in modules 2012-06-11 17:29:38 +02:00
Installer.pm Bug 8315 - remove use C4::* version 2012-07-13 14:17:20 +02:00
ItemCirculationAlertPreference.pm Bug 4330 : Adding copyright headers and fixing FSF addresses 2012-05-28 17:54:25 +02:00
Items.pm BugFix - ReturnToShelvingCart 2012-07-24 15:05:23 +02:00
ItemType.pm Bug 4330 : Adding copyright headers and fixing FSF addresses 2012-05-28 17:54:25 +02:00
Koha.pm Bug 4255 - Add item type to facet list 2012-06-20 22:27:21 +02:00
Labels.pm Bug 8315 - remove use C4::* version 2012-07-13 14:17:20 +02:00
Languages.pm Bug 7941 : Fix version numbers in modules 2012-06-11 17:29:38 +02:00
Letters.pm Bug 8434 - Notice generation fails for Advanced Notices, Item Due, and Overdues when run in shell (due to error in Letters.pm) 2012-07-24 17:34:05 +02:00
Linker.pm Bug 7284: Fix unit test broken by erroneous POD 2012-03-08 15:24:18 +01:00
Log.pm Bug 7941 : Fix version numbers in modules 2012-06-11 17:29:38 +02:00
Maintainance.pm Bug 7941 : Fix version numbers in modules 2012-06-11 17:29:38 +02:00
Matcher.pm Bug 7941 : Fix version numbers in modules 2012-06-11 17:29:38 +02:00
Members.pm Bug 7941 : Fix version numbers in modules 2012-06-11 17:29:38 +02:00
Message.pm Bug 4330 : Adding copyright headers and fixing FSF addresses 2012-05-28 17:54:25 +02:00
NewsChannels.pm Bug 7941 : Fix version numbers in modules 2012-06-11 17:29:38 +02:00
Output.pm Bug 7941 : Fix version numbers in modules 2012-06-11 17:29:38 +02:00
Overdues.pm Bug 7941 : Fix version numbers in modules 2012-06-11 17:29:38 +02:00
Patroncards.pm Bug 8315 - remove use C4::* version 2012-07-13 14:17:20 +02:00
Print.pm Bug 7941 : Fix version numbers in modules 2012-06-11 17:29:38 +02:00
Ratings.pm Bug 7941 : Fix version numbers in modules 2012-06-11 17:29:38 +02:00
Record.pm Bug 8203: Add ability to save individual authorities 2012-07-12 16:02:07 +02:00
Reports.pm Bug 7941 : Fix version numbers in modules 2012-06-11 17:29:38 +02:00
Reserves.pm Bug 7941 : Fix version numbers in modules 2012-06-11 17:29:38 +02:00
Review.pm Bug 7941 : Fix version numbers in modules 2012-06-11 17:29:38 +02:00
Ris.pm Bug 7941 : Fix version numbers in modules 2012-06-11 17:29:38 +02:00
RotatingCollections.pm Bug 7941 : Fix version numbers in modules 2012-06-11 17:29:38 +02:00
Scheduler.pm Bug 7941 : Fix version numbers in modules 2012-06-11 17:29:38 +02:00
Scrubber.pm Bug 7941 : Fix version numbers in modules 2012-06-11 17:29:38 +02:00
Search.pm Bug 8458 - $stemmed_operand in C4::Search _build_stemmed_operand is not initialized. Added =q{} to initialize it to the empty string at declaration time. 2012-07-18 11:46:05 +02:00
Serials.pm Bug 8227 Fix deprecated construct compile time warning in Serials 2012-06-20 10:38:25 +02:00
Service.pm POD Cleanups 2010-06-09 08:38:59 -04:00
ShelfBrowser.pm Bug 7941 : Fix version numbers in modules 2012-06-11 17:29:38 +02:00
SMS.pm Bug 7941 : Fix version numbers in modules 2012-06-11 17:29:38 +02:00
SocialData.pm bug 7470 follow-up, fix POD doc 2012-03-26 17:53:28 +02:00
SQLHelper.pm Bug 7941 : Fix version numbers in modules 2012-06-11 17:29:38 +02:00
Stats.pm Bug 7941 : Fix version numbers in modules 2012-06-11 17:29:38 +02:00
Suggestions.pm Bug 7941 : Fix version numbers in modules 2012-06-11 17:29:38 +02:00
Tags.pm Bug 7941 : Fix version numbers in modules 2012-06-11 17:29:38 +02:00
Templates.pm Bug 8019 - Preserve language choice between Browser sessions 2012-05-14 18:37:56 +02:00
TmplToken.pm Bug 7941 : Fix version numbers in modules 2012-06-11 17:29:38 +02:00
TmplTokenType.pm Bug 7941 : Fix version numbers in modules 2012-06-11 17:29:38 +02:00
TTParser.pm Bug 5327 : Follow up for TTParser test 2012-07-12 16:06:21 +02:00
UploadedFile.pm Bug 7941 : Fix version numbers in modules 2012-06-11 17:29:38 +02:00
Utils.pm Bug 7941 : Fix version numbers in modules 2012-06-11 17:29:38 +02:00
VirtualShelves.pm Bug 7941 : Fix version numbers in modules 2012-06-11 17:29:38 +02:00
XISBN.pm Bug 7941 : Fix version numbers in modules 2012-06-11 17:29:38 +02:00
XSLT.pm Bug 7941 : Fix version numbers in modules 2012-06-11 17:29:38 +02:00
Z3950.pm Bug 7941 : Fix version numbers in modules 2012-06-11 17:29:38 +02:00