From 3776220c0793973a059f7bf465fd6928678af892 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Thu, 29 Jan 2026 17:36:23 +0000 Subject: [PATCH] Bug 39802: (QA follow-up) Typo fixes Signed-off-by: Martin Renvoize --- misc/cronjobs/longoverdue.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/misc/cronjobs/longoverdue.pl b/misc/cronjobs/longoverdue.pl index b65467f75b6..c1b3460aa3a 100755 --- a/misc/cronjobs/longoverdue.pl +++ b/misc/cronjobs/longoverdue.pl @@ -110,12 +110,12 @@ my $lost_control_pref = C4::Context->preference('LostChargesControl'); my $home_holding_pref = C4::Context->preference('HomeOrHoldingBranch'); if ( ( scalar @branches || scalar @skip_branches ) && $lost_control_pref eq 'PickupLibrary' - && !( C4::Context->userenv->{branch} ) ) + && !( C4::Context->userenv->{'branch'} ) ) { pod2usage( -verbose => 0, -message => - "There is no branch set for the cron user, LostCharge Control is set to 'library you are logged in at'.\n" + "There is no branch set for the cron user, LostChargesControl is set to 'library you are logged in at'.\n" . "No branches will satisfy this requirement - exiting.", -exitval => 1 ); -- 2.52.0