Koha-clms/misc
Joe Atzberger 4e3249091a Prevent fines failure on NULL borrowernumber.
The problem is that we do not ensure that the issues table has valid
borrowernumber in each line.  This is exacerbated by Getoverdues()
returning data sorted BY borrowernumber.  So one NULL borrowernumber
in issues prevented ALL fines from being assessed.  The actual error
from fines.pl cron log is:
  No branchcode argument to new.  Should be C4::Calendar->new(branchcode => $branchcode)
  at /home/user/kohaclone/misc/cronjobs/fines.pl line 98

This patch deals only with getting fines to avoid crashing.  It does
not fix the underlying data integrity problem.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-05-26 21:15:31 +02:00
..
bin Have zebrasrv log less 2008-10-28 22:09:22 +01:00
cronjobs Prevent fines failure on NULL borrowernumber. 2009-05-26 21:15:31 +02:00
installer_devel_notes/data/en/marcflavour replacing SHELF_LOC by LOC, as decided with kados on the chat 2007-12-26 14:33:02 -06:00
load_testing Adding a couple benchmark scripts 2008-03-20 08:40:48 -05:00
maintenance Bug 3133 - correct typos 2009-05-26 21:15:11 +02:00
migration_tools Changes to bulkmarcimport.pl 2009-05-26 21:15:06 +02:00
release_notes Changing version 2009-02-18 17:39:58 +01:00
spellcheck_suggest kohabug 2345: bad comparisons pervade reports 2008-07-27 06:11:08 -05:00
translator Greek, Croatian, Portuguese and Turkish updates 2009-05-26 14:42:11 +12:00
batchCompareMARCvsFrameworks.pl do not let MARC::Batch open MARC files 2008-03-21 21:46:39 -05:00
batchDeleteUnusedSubfields.pl remove some unneeded use statements 2008-03-21 21:46:29 -05:00
batchImportMARCWithBiblionumbers.pl do not let MARC::Batch open MARC files 2008-03-21 21:46:39 -05:00
batchRebuildBiblioTables.pl Bugfix 3199 - batchRebuildBiblioTables.pl failed due to missing argument [3.0.x] 2009-05-26 21:15:26 +02:00
batchRepairMissingBiblionumbers.pl Repair the old repairmissingbiblionumbers script 2009-05-26 21:15:12 +02:00
batchupdateISBNs.pl bugfixing batchupdateISBN.pl 2008-05-20 12:55:06 -05:00
check_sysprefs.pl moving some files and deleting cataloguing/updateitem.pl, the _real_ updateitem.pl is in catalogue/ 2007-12-30 12:09:52 -06:00
commit_biblios_file.pl speed boost: command-line stage and commit biblios 2008-01-03 16:26:24 -06:00
exportauth.pl bug 2615: remove unneeded 'require Exporter' 2008-10-28 22:09:32 +01:00
koha-install-log kohabug 1776 - try to locate Zebra during install 2008-04-22 17:59:00 -05:00
kohalib.pl Still fixing permission and first line of scripts 2008-10-28 22:09:24 +01:00
link_bibs_to_authorities.pl bug 2258 - do not duplicate embedded items 2008-06-18 19:25:07 -05:00
perlmodule_ls.pl fixing nomenclature on files in misc/, adding a few new utilities 2007-12-30 12:13:34 -06:00
perlmodule_rm.pl fixing nomenclature on files in misc/, adding a few new utilities 2007-12-30 12:13:34 -06:00
sax_parser_print.pl Bug 2617: Add strict (and warnings), partial fix. 2009-05-26 21:15:01 +02:00
sax_parser_test.pl fixing nomenclature on files in misc/, adding a few new utilities 2007-12-30 12:13:34 -06:00
stage_biblios_file.pl Add no-replace option to stage_biblios_file.pl, allowing incoming bibs to not overwrite existing bibs. 2008-07-18 13:22:31 -05:00
syspref-diff.pl Small script to identify syspref differences between languages (3). See 2008-06-09 06:42:00 -05:00