Bugzilla – Attachment 9953 Details for
Bug 8063
Hold print notices do not sort by branch
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 8063 - Followup - Bug fix
Bug-8063---Followup---Bug-fix.patch (text/plain), 1.94 KB, created by
Kyle M Hall
on 2012-06-06 13:42:27 UTC
(
hide
)
Description:
Bug 8063 - Followup - Bug fix
Filename:
MIME Type:
Creator:
Kyle M Hall
Created:
2012-06-06 13:42:27 UTC
Size:
1.94 KB
patch
obsolete
>From 45ff41a4e53bad9f67a6eeb30d65e9f9e1ecd665 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Wed, 6 Jun 2012 09:41:02 -0400 >Subject: [PATCH] Bug 8063 - Followup - Bug fix > >$OUTPUT being used but not being declared. > >When trying to run this script I gat a nasty: >15:42 ~/koha.dev/koha-community (new/bug_8063 $%)$ ./misc/cronjobs/gather_print_notices.pl >Global symbol "$OUTPUT" requires explicit package name at ./misc/cronjobs/gather_print_notices.pl line 81. >Global symbol "$OUTPUT" requires explicit package name at ./misc/cronjobs/gather_print_notices.pl line 95. >Global symbol "$OUTPUT" requires explicit package name at ./misc/cronjobs/gather_print_notices.pl line 102. >Global symbol "$OUTPUT" requires explicit package name at ./misc/cronjobs/gather_print_notices.pl line 106. >Global symbol "$OUTPUT" requires explicit package name at ./misc/cronjobs/gather_print_notices.pl line 120. >Global symbol "$OUTPUT" requires explicit package name at ./misc/cronjobs/gather_print_notices.pl line 127. >Execution of ./misc/cronjobs/gather_print_notices.pl aborted due to compilation errors. >--- > misc/cronjobs/gather_print_notices.pl | 3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-) > >diff --git a/misc/cronjobs/gather_print_notices.pl b/misc/cronjobs/gather_print_notices.pl >index ac1385b..3e948b6 100755 >--- a/misc/cronjobs/gather_print_notices.pl >+++ b/misc/cronjobs/gather_print_notices.pl >@@ -69,6 +69,8 @@ my $today = C4::Dates->new(); > my @all_messages = @{ GetPrintMessages() }; > exit unless (@all_messages); > >+my $OUTPUT; >+ > if ($split) { > my %messages_by_branch; > foreach my $message (@all_messages) { >@@ -77,7 +79,6 @@ if ($split) { > > foreach my $branchcode ( keys %messages_by_branch ) { > my @messages = @{ $messages_by_branch{$branchcode} }; >- > open $OUTPUT, '>', > File::Spec->catdir( $output_directory, > "holdnotices-" . $today->output('iso') . "-$branchcode.html" ); >-- >1.7.2.5
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 8063
:
9489
|
9514
|
9696
|
9697
|
9912
|
9913
|
9953
|
10786