diff options
-rwxr-xr-x | process_bug.cgi | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/process_bug.cgi b/process_bug.cgi index 102934313..e49324f6d 100755 --- a/process_bug.cgi +++ b/process_bug.cgi @@ -1265,6 +1265,7 @@ foreach my $id (@idlist) { if ($::FORM{'comment'} || $::FORM{'work_time'}) { if ($::FORM{'work_time'} && (!defined $::FORM{'comment'} || $::FORM{'comment'} =~ /^\s*$/)) { + SendSQL("UNLOCK TABLES"); ThrowUserError('comment_required'); } else { AppendComment($id, $::COOKIE{'Bugzilla_login'}, $::FORM{'comment'}, |