[Koha-patches] [PATCH] [labels_recon] Adding a missing module to labels search

Chris Nighswonger cnighswonger at foundations.edu
Thu Sep 3 04:08:07 CEST 2009


This causes an error to be thrown if no items are retrieved and the
code goes to call &syslog
---
 labels/label-item-search.pl |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/labels/label-item-search.pl b/labels/label-item-search.pl
index 8f950ec..9acd04e 100755
--- a/labels/label-item-search.pl
+++ b/labels/label-item-search.pl
@@ -24,6 +24,7 @@ use vars qw($debug $cgi_debug);
 use CGI;
 use HTML::Template::Pro;
 use List::Util qw( max min );
+use Sys::Syslog qw(syslog);
 use POSIX qw(ceil);
 
 use C4::Auth qw(get_template_and_user);
-- 
1.6.0.4




More information about the Koha-patches mailing list