When running a compare with --upd flag, I got the following warn:
Use of uninitialized value in addition (+) at misc/maintenance/cmp_sysprefs.pl line 125.
This is simply resolved by not returning undef but 0 in case of the Version
syspref in the sub UpdateOnePref.
Test plan:
Look at this simple change.
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
|
||
|---|---|---|
| .. | ||
| UNIMARC_fix_collectiontitle.pl | ||
| UNIMARC_sync_date_created_with_marc_biblio.pl | ||
| auth_show_hidden_data.pl | ||
| borrowers-force-messaging-defaults.pl | ||
| check_sysprefs.sh | ||
| cmp_sysprefs.pl | ||
| fix_accountlines_date.pl | ||
| fix_accountlines_rmdupfines_bug8253.pl | ||
| fix_mysql_constraints.pl | ||
| make_zebra_dom_cfg_from_record_abs | ||
| process_record_through_filter.pl | ||
| remove_items_from_biblioitems.pl | ||
| sanitize_records.pl | ||
| touch_all_biblios.pl | ||
| touch_all_items.pl | ||
| update_authorities.pl | ||