]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Fix for bug 180632: corrects reference flag->is_requesteeble to flag->type->is_reques...
authormyk%mozilla.org <>
Mon, 18 Nov 2002 07:33:54 +0000 (07:33 +0000)
committermyk%mozilla.org <>
Mon, 18 Nov 2002 07:33:54 +0000 (07:33 +0000)
r=bbaetz
a=myk

Bugzilla/Flag.pm

index d601a115b6c192c7ecfd8dc68bcee1cb5b3abbbd..0a404eff48de5c7b9dc21f6f0a55bbab4558756e 100644 (file)
@@ -323,10 +323,11 @@ sub modify {
         # being requested, otherwise we'll get false positives and think 
         # the user changed the flag when they didn't.
         next if 
-          $status eq $flag->{'status'}    # the flag's status hasn't changed, and
-          && (!$flag->{'is_requesteeble'} # the flag isn't specifically requestable, or
-              || $status ne "?"           # the flag isn't being requested, or
-              || ($flag->{'requestee'}    # the requestee hasn't changed
+          $status eq $flag->{'status'}  # the flag's status hasn't changed, and:
+          && (!$flag->{'type'}->{'is_requesteeble'} 
+                                        # the flag isn't specifically requestable
+              || $status ne "?"         # or the flag isn't being requested
+              || ($flag->{'requestee'}  # or the requestee hasn't changed
                   && ($requestee_email eq $flag->{'requestee'}->{'email'})));
         
         # Since the status is validated, we know it's safe, but it's still