aboutsummaryrefslogtreecommitdiffstats
path: root/attachment.cgi
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-06-21 05:46:39 +0000
committerlpsolit%gmail.com <>2005-06-21 05:46:39 +0000
commit7f9a55a1573e31ca4189fb9a379960ede2200f4b (patch)
tree7dacb1753fd927a16ec88746255c8b3f2d5ce69c /attachment.cgi
parent0b8d70a6a120da140ed41b37c5d98a902e16cae4 (diff)
downloadbugs-7f9a55a1573e31ca4189fb9a379960ede2200f4b.tar
bugs-7f9a55a1573e31ca4189fb9a379960ede2200f4b.tar.gz
bugs-7f9a55a1573e31ca4189fb9a379960ede2200f4b.tar.bz2
bugs-7f9a55a1573e31ca4189fb9a379960ede2200f4b.tar.xz
bugs-7f9a55a1573e31ca4189fb9a379960ede2200f4b.zip
Bug 180792: Setting and/or updating flags does not update last changed date - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=myk
Diffstat (limited to 'attachment.cgi')
-rwxr-xr-xattachment.cgi4
1 files changed, 2 insertions, 2 deletions
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.