From c01fcbf97306d6fdcea001dbceaa4dc79c63239a Mon Sep 17 00:00:00 2001 From: Chris Cormack Date: Tue, 27 Sep 2011 07:04:02 +1300 Subject: [PATCH] Bug 6755 : Fixing a bug with guided reports --- C4/Reports/Guided.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.39.5