Bug 131859 - add logging if error occurs; fix userpref text (after changing a bug)

git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1767 6955db30-a419-402b-8a0d-67ecbb4d7f56
master
vkoptev 2013-08-19 11:30:29 +00:00
parent 7cc317db62
commit d3f3c4b36d
2 changed files with 5 additions and 1 deletions

View File

@ -178,7 +178,7 @@ $Bugzilla::messages->{en} = {
'on' => 'On',
'per_bug_queries' => "Enable tags for $terms->{bugs}",
'post_bug_submit_action' => "After changing $terms->{abug}",
'next_bug' => "Show next $terms.bug in my list",
'next_bug' => "Show next $terms->{bug} in my list",
'same_bug' => "Show the updated $terms->{bug}",
'standard' => 'Classic',
'skin' => "$terms->{Bugzilla}'s general appearance (skin)",

View File

@ -804,6 +804,10 @@ unless (Bugzilla->usage_mode == USAGE_MODE_EMAIL)
{
foreach (@$send_results)
{
if ($_ eq " ")
{
ThrowCodeError('Bug 131859', {'send_results' => $send_results});
}
$template->process("bug/process/results.html.tmpl", { %$vars, %$_ })
|| ThrowTemplateError($template->error());
$vars->{header_done} = 1;