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

_______________________________________________
Koha-patches mailing list
Koha-patches@lists.koha.org
http://lists.koha.org/mailman/listinfo/koha-patches

Reply via email to