Bug 40933 remove warnings

git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1357 6955db30-a419-402b-8a0d-67ecbb4d7f56
master
vfilippov 2011-08-31 12:43:27 +00:00
parent b444443324
commit 6b8c679d7b
1 changed files with 2 additions and 2 deletions

View File

@ -73,7 +73,7 @@ Bugzilla->login();
# создание и выполнение запроса поиска, находится не в Bugzilla::Search, а именно здесь :-(
# кусочки логики находятся здесь по слову superworktime.
my $superworktime;
if ($cgi->param('format') eq 'superworktime')
if (($cgi->param('format')||'') eq 'superworktime')
{
require BugWorkTime;
$superworktime = 1;
@ -1328,7 +1328,7 @@ $template->process($format->{'template'}, $vars, \$output)
$query_template_time = gettimeofday()-$query_template_time;
# CustIS Bug 69766 - Default CSV charset for M1cr0$0ft Excel
if ($cgi->param('ctype') eq 'csv' &&
if (($cgi->param('ctype')||'') eq 'csv' &&
Bugzilla->user->settings->{csv_charset} &&
Bugzilla->user->settings->{csv_charset}->{value} ne 'utf-8')
{