Explicitly declare dependency on HTML::Template
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)
This commit is contained in:
parent
365b8619f4
commit
fc5d0e3961
|
|
@ -32,6 +32,7 @@ require Exporter;
|
|||
|
||||
use C4::Context;
|
||||
use C4::Database;
|
||||
use HTML::Template;
|
||||
|
||||
use vars qw($VERSION @ISA @EXPORT);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue