Koha/misc
Nick Clemens 423421eb64 Bug 28255: Follow up to bug 23463 - use item_object in misc/cronjobs/delete_items.pl
This looks like just an assumption that the $item variable was an object

Correct the code to use $item_object

To test:
1 - perl misc/cronjobs/delete_items.pl -where="barcode LIKE '%8'" --commit --verbose
2 - Can't call method "safe_delete" on unblessed reference at /usr/share/koha/bin/cronjobs/delete_items.pl line 67.
3 - Apply patch
4 - Repeat
5 - Success! You deleted a bunch of items

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-05-19 15:06:42 +02:00
..
admin Bug 22824: Fix encoding of misc/admin/koha-preferences output 2021-03-04 16:18:42 +01:00
bin Bug 20410: Remove OpacGroupResults and PazPar2 2021-02-08 16:12:42 +01:00
cronjobs Bug 28255: Follow up to bug 23463 - use item_object in misc/cronjobs/delete_items.pl 2021-05-19 15:06:42 +02:00
devel Bug 25549: Remove plugin methods for broken plugins 2020-10-22 10:04:30 +02:00
interface_customization
load_testing Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
maintenance Bug 27963: (bug 23463 follow-up) Fix touch_all_items.pl 2021-04-01 17:13:56 +02:00
migration_tools Bug 24564: Use the same tab as the other subfields within a field 2021-05-10 10:27:51 +02:00
release_notes Correct Ubuntu versions in release notes - md 2020-11-30 11:19:35 +01:00
search_tools Bug 26312: (follow-up) Fix passing of exception messages 2021-04-16 11:48:31 +02:00
translator Bug 28276: Do not fetch config ($KOHA_CONF) from memcached 2021-05-10 10:28:04 +02:00
add_date_fields_to_marc_records.pl
background_jobs_worker.pl Bug 27756: Fork background jobs to prevent memory leak 2021-05-07 14:44:00 +02:00
batchCompareMARCvsFrameworks.pl
batchdeletebiblios.pl
batchDeleteUnusedSubfields.pl
batchImportMARCWithBiblionumbers.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
batchRebuildBiblioTables.pl
batchRebuildItemsTables.pl
batchRepairMissingBiblionumbers.pl Bug 25306: Remove framework paramter from ModBiblioMarc 2021-01-12 16:13:50 +01:00
check_sysprefs.pl
commit_file.pl
export_borrowers.pl Bug 27486: Rename system preference delimiter to CSVDelimiter 2021-01-29 09:03:45 +01:00
export_records.pl
exportauth.pl
import_patrons.pl Bug 27586: Import patrons script has a confirm switch that doesn't nothing! 2021-02-08 14:55:59 +01:00
koha-install-log Bug 20410: Remove OpacGroupResults and PazPar2 2021-02-08 16:12:42 +01:00
kohalib.pl
link_bibs_to_authorities.pl Bug 26641: Optimize CatalogModuleRelink lookup 2020-11-04 12:59:34 +01:00
load_yaml.pl
mod_zebraqueue.pl
perlmodule_ls.pl
perlmodule_rm.pl
recreateIssueStatistics.pl
sax_parser_print.pl
sax_parser_test.pl
sip_cli_emulator.pl Bug 28320: Add DB connection check to the SIP SC status message 2021-05-17 12:34:33 +02:00
stage_file.pl
z3950_responder.pl