Bugzilla – Attachment 6903 Details for
Bug 7370
Longoverdue cronjob claims Undefined subroutine &main::LostItem
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed Patch
0001-Bug-7370-longoverdue.pl-cronjob-fails-undefined-subr.patch (text/plain), 1.26 KB, created by
Ian Walls
on 2011-12-21 18:57:31 UTC
(
hide
)
Description:
Proposed Patch
Filename:
MIME Type:
Creator:
Ian Walls
Created:
2011-12-21 18:57:31 UTC
Size:
1.26 KB
patch
obsolete
>From fd70d45be01f24c4ac9ceb71fe6e5caba55f2cd0 Mon Sep 17 00:00:00 2001 >From: Ian Walls <ian.walls@bywatersolutions.com> >Date: Wed, 21 Dec 2011 13:54:01 -0500 >Subject: [PATCH] Bug 7370: longoverdue.pl cronjob fails, undefined subroutine LostItem > >misc/cronjobs/longoverdue.pl didn't get a fully qualified subroutine for >LostItem. Adds the necessary "C4::Circulation::" prefix >--- > misc/cronjobs/longoverdue.pl | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/misc/cronjobs/longoverdue.pl b/misc/cronjobs/longoverdue.pl >index e3648d5..adde158 100755 >--- a/misc/cronjobs/longoverdue.pl >+++ b/misc/cronjobs/longoverdue.pl >@@ -160,7 +160,7 @@ foreach my $startrange (sort keys %$lost) { > printf ("Due %s: item %5s from borrower %5s to lost: %s\n", $row->{date_due}, $row->{itemnumber}, $row->{borrowernumber}, $lostvalue) if($verbose); > if($confirm) { > ModItem({ itemlost => $lostvalue }, $row->{'biblionumber'}, $row->{'itemnumber'}); >- LostItem($row->{'itemnumber'}, undef, 'CHARGE FEE') if( $charge && $charge eq $lostvalue); >+ C4::Circulation::LostItem($row->{'itemnumber'}, undef, 'CHARGE FEE') if( $charge && $charge eq $lostvalue); > } > $count++; > } >-- >1.7.4.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 7370
:
6903
|
6906
|
6907