diff --git a/C4/Reports/Guided.pm b/C4/Reports/Guided.pm index 97a41c7b9b..6c5a47764e 100644 --- a/C4/Reports/Guided.pm +++ b/C4/Reports/Guided.pm @@ -880,7 +880,7 @@ sub _get_column_defs { my ($theme, $lang, $availablethemes) = C4::Templates::themelanguage($htdocs, 'about.tt', $section, $cgi); my $full_path_to_columns_def_file="$htdocs/$theme/$lang/$columns_def_file"; - open (my $fh, $full_path_to_columns_def_file); + open (my $fh, '<', $full_path_to_columns_def_file); while ( my $input = <$fh> ){ chomp $input; if ( $input =~ m|(.*)| ) {