X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=C4%2FReports%2FGuided.pm;h=75c6c373000eb9d180b5fc1ee4f3294a5a460dbf;hb=48c8ac992a8805666e553d67f1e73c24fe8fe623;hp=f262161f364ae4ad45cee66517034059d0acb992;hpb=3bb33fd666d4d0eea26114b373874189edc82459;p=koha.git diff --git a/C4/Reports/Guided.pm b/C4/Reports/Guided.pm index f262161f36..75c6c37300 100644 --- a/C4/Reports/Guided.pm +++ b/C4/Reports/Guided.pm @@ -25,7 +25,7 @@ use Carp; use vars qw($VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS); use C4::Context; use C4::Dates qw/format_date format_date_in_iso/; -use C4::Templates; +use C4::Templates qw/themelanguage/; use C4::Dates; use XML::Simple; use XML::Dumper; @@ -741,7 +741,7 @@ sub _get_column_defs { my $columns_def_file = "columns.def"; my $htdocs = C4::Context->config('intrahtdocs'); my $section='intranet'; - my ($theme, $lang) = themelanguage($htdocs, $columns_def_file, $section,$cgi); + my ($theme, $lang) = C4::Templates::themelanguage($htdocs, $columns_def_file, $section,$cgi); my $full_path_to_columns_def_file="$htdocs/$theme/$lang/$columns_def_file"; open (COLUMNS,$full_path_to_columns_def_file);