Bug 42133
git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@640 6955db30-a419-402b-8a0d-67ecbb4d7f56master
parent
c353257d8e
commit
255019886a
|
@ -191,6 +191,7 @@ unless ($args->{commit})
|
|||
}
|
||||
}
|
||||
print $cgi->header();
|
||||
warn '-------->' . join ',', @{$vars->{fields}};
|
||||
$template->process("bug/import/importxls.html.tmpl", $vars)
|
||||
|| ThrowTemplateError($template->error());
|
||||
}
|
||||
|
@ -259,9 +260,7 @@ sub parse_excel
|
|||
{
|
||||
# OOXML
|
||||
require Spreadsheet::XLSX;
|
||||
require Text::Iconv;
|
||||
my $converter = Text::Iconv->new("utf-8", "windows-1251");
|
||||
$xls = Spreadsheet::XLSX->new($upload->handle, $converter);
|
||||
$xls = Spreadsheet::XLSX->new($upload->handle);
|
||||
}
|
||||
elsif ($name =~ /\.xls$/iso)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue