Explicitly declare dependency on HTML::Template
authoracli <acli>
Thu, 6 Feb 2003 05:04:36 +0000 (05:04 +0000)
committeracli <acli>
Thu, 6 Feb 2003 05:04:36 +0000 (05:04 +0000)
If checkauth() detects a permission problem (e.g., in untemplated scripts),
this is necessary for the code (that displays the error message) to run
(otherwise Perl dies with a very cryptic, confusing error message)

C4/Output.pm

index 6d61bb9..ecccff9 100644 (file)
@@ -32,6 +32,7 @@ require Exporter;
 
 use C4::Context;
 use C4::Database;
+use HTML::Template;
 
 use vars qw($VERSION @ISA @EXPORT);