Adding a missing module to labels search
authorChris Nighswonger <cnighswonger@foundations.edu>
Thu, 3 Sep 2009 02:08:07 +0000 (22:08 -0400)
committerGalen Charlton <gmcharlt@gmail.com>
Sat, 5 Sep 2009 23:56:21 +0000 (19:56 -0400)
This causes an error to be thrown if no items are retrieved and the
code goes to call &syslog

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
labels/label-item-search.pl

index a8a56ac..c95bdf0 100755 (executable)
@@ -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);