Bugzilla – Attachment 6740 Details for
Bug 7321
Silence warns in Koha.pm
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 7321: Silence some warns in Koha.pm
Bug-7321-Silence-some-warns-in-Kohapm.patch (text/plain), 1.20 KB, created by
Chris Cormack
on 2011-12-13 08:51:11 UTC
(
hide
)
Description:
Bug 7321: Silence some warns in Koha.pm
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2011-12-13 08:51:11 UTC
Size:
1.20 KB
patch
obsolete
>From 0cc09dd67bfcfd8644c235f7c55159f3d0b33642 Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <Katrin.Fischer.83@web.de> >Date: Mon, 5 Dec 2011 21:52:44 +0100 >Subject: [PATCH] Bug 7321: Silence some warns in Koha.pm > >While testing bug 7013 I noticed a lot of warns in the koha error log. >This patch is silencing them. > >To test: >Add or edit an authorised value and check your log files before and after >applying the patch. > >Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz> >--- > C4/Koha.pm | 3 +-- > 1 files changed, 1 insertions(+), 2 deletions(-) > >diff --git a/C4/Koha.pm b/C4/Koha.pm >index 06b2ec5..789f674 100644 >--- a/C4/Koha.pm >+++ b/C4/Koha.pm >@@ -573,9 +573,8 @@ sub getImageSets { > > my @imagesets = (); # list of hasrefs of image set data to pass to template > my @subdirectories = _getSubdirectoryNames( $paths->{'staff'}{'filesystem'} ); >-warn $paths->{'staff'}{'filesystem'}; > foreach my $imagesubdir ( @subdirectories ) { >- warn $imagesubdir; >+ warn $imagesubdir if $DEBUG; > my @imagelist = (); # hashrefs of image info > my @imagenames = _getImagesFromDirectory( File::Spec->catfile( $paths->{'staff'}{'filesystem'}, $imagesubdir ) ); > my $imagesetactive = 0; >-- >1.7.5.4
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 7321
:
6587
| 6740