Koha/misc/cronjobs
Hayley Mapley 7d42e29c8b Bug 20537: Added checks to remove warning from overdue_notices.pl
When executing overdue_notices.pl on borrowers that lack a surname, we
see this error:
Use of uninitialized value in concatenation (.) or string at
/usr/share/koha/bin/cronjobs/overdue_notices.pl line 575.

This patch fixes this issue by setting the $borr variable
based on the information that has been defined.

To test:
1) Create a borrower and set its surname to null
2) Checkout an item to the borrower and set it to be overdue
3) Navigate to kohaclone/misc/cronjobs and enter a koha-shell
4) Run the script: ./overdue_notices.pl
5) Observe the error appears
6) Apply the patch
7) Repeat steps 3-4
8) Observe the error is gone
9) Sign off!

Sponsored-by: Catalyst IT

Signed-off-by: Liz Rea <wizzyrea@gmail.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
2019-05-30 10:20:12 +00:00
..
holds Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
rss Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
social_data Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
thirdparty Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
advance_notices.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
automatic_item_modification_by_age.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
automatic_renewals.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
backup.sh
batch_anonymise.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
build_browser_and_cloud.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
cart_to_shelf.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
check-url-quick.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
check-url.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
cleanup_database.pl Bug 21336: Adjust cleanup_database.pl 2019-04-17 12:25:24 +00:00
cloud-kw.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
cloud-sample.conf
CONFIGURE.gmail
create_koc_db.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
crontab.example Bug 21235: Remove table services_throttle 2018-09-07 15:09:39 +00:00
delete_items.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
delete_patrons.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
delete_records_via_leader.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
edi_cron.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
fines.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
gather_print_notices.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
import_webservice_batch.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
j2a.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
longoverdue.pl Bug 20436: (RM follow-up) Use Koha objects instead of mysql 2019-05-23 15:45:01 +00:00
membership_expiry.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
merge_authorities.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
notice_unprocessed_suggestions.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
overdue_notices.pl Bug 20537: Added checks to remove warning from overdue_notices.pl 2019-05-30 10:20:12 +00:00
patron_emailer.pl Bug 22755: Fix pod in patron_emailer.pl 2019-04-24 10:43:55 +00:00
printoverdues.sh
process_message_queue.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
purge_suggestions.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
reconcile_balances.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
remove_temporary_edifiles.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
runreport.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
serialsUpdate.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
share_usage_with_koha_community.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
sitemap.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
staticfines.pl Bug 22521: Update fines handling to use accountline.status 2019-04-17 16:49:36 +00:00
stockrotation.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
update_totalissues.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00