From 7f9a55a1573e31ca4189fb9a379960ede2200f4b Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Tue, 21 Jun 2005 05:46:39 +0000 Subject: =?UTF-8?q?Bug=20180792:=20Setting=20and/or=20updating=20flags=20d?= =?UTF-8?q?oes=20not=20update=20last=20changed=20date=20-=20Patch=20by=20F?= =?UTF-8?q?r=C3=A9d=C3=A9ric=20Buclin=20=20r/a=3Dmyk?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- attachment.cgi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'attachment.cgi') diff --git a/attachment.cgi b/attachment.cgi index 8b9bdaafd..33f35b69f 100755 --- a/attachment.cgi +++ b/attachment.cgi @@ -1156,7 +1156,7 @@ sub update # Bugzilla::User needs to rederive groups. profiles and # user_group_map would be READ locks instead of WRITE locks if it # weren't for derive_groups, which needs to write to those tables. - 'bugs READ', 'profiles WRITE', 'email_setting READ', + 'bugs WRITE', 'profiles WRITE', 'email_setting READ', 'cc READ', 'bug_group_map READ', 'user_group_map WRITE', 'group_group_map READ', 'groups READ'); @@ -1251,7 +1251,7 @@ sub update # If the user submitted a comment while editing the attachment, # add the comment to the bug. - if (defined $cgi->param('comment')) + if ($cgi->param('comment')) { # Prepend a string to the comment to let users know that the comment came # from the "edit attachment" screen. -- cgit v1.2.1