Koha-clms/misc
Nick Clemens bac2651c60 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>
(cherry picked from commit 423421eb64)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2021-05-20 14:52:48 +02:00
..
admin Bug 23816: (follow-up) Fix many things 2020-09-09 15:39:52 +02:00
bin Bug 21395: Make perlcritic happy 2020-06-29 12:37:02 +02:00
cronjobs Bug 28255: Follow up to bug 23463 - use item_object in misc/cronjobs/delete_items.pl 2021-05-20 14:52:48 +02:00
devel Bug 25549: Remove plugin methods for broken plugins 2020-10-22 10:04:30 +02:00
interface_customization Bug 23148: Replace Bridge icons with transparent PNG files 2020-07-20 16:16:37 +02:00
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-07 15:10:20 +02:00
migration_tools Bug 24564: Use the same tab as the other subfields within a field 2021-05-12 16:14:48 +02:00
release_notes Update release notes for 20.11.05 release 2021-04-26 14:47:17 +02:00
search_tools Bug 26312: (follow-up) Fix passing of exception messages 2021-04-19 15:14:46 +02:00
translator Bug 28276: Do not fetch config ($KOHA_CONF) from memcached 2021-05-12 16:32:32 +02:00
add_date_fields_to_marc_records.pl
…
background_jobs_worker.pl Bug 22417: Process the jobs even if the message broker is not reachable 2020-10-05 15:26:36 +02:00
batchCompareMARCvsFrameworks.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 21395: Make perlcritic happy 2020-06-29 12:37:02 +02:00
batchdeletebiblios.pl Bug 21395: Make perlcritic happy 2020-06-29 12:37:02 +02:00
check_sysprefs.pl Bug 21395: Make perlcritic happy 2020-06-29 12:37:02 +02:00
commit_file.pl
…
export_borrowers.pl
…
export_records.pl Bug 26175: Remove warn if undefined barcode in misc/export_records.pl 2020-08-26 15:21:41 +02:00
exportauth.pl Bug 21395: Make perlcritic happy 2020-06-29 12:37:02 +02:00
import_patrons.pl Bug 27586: Import patrons script has a confirm switch that doesn't nothing! 2021-02-12 13:50:17 +01:00
koha-install-log
…
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 Bug 21395: Make perlcritic happy 2020-06-29 12:37:02 +02:00
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-18 12:20:18 +02:00
stage_file.pl
…
z3950_responder.pl
…